Box Interview Question

Develop a string filter or somethin