IBM Interview Question

Boolean search