Deloitte interview question

Mostly Boolean searches.