Capgemini Interview Question

Boolean Search, Palindrome sets etc