Vectura interview question

Technical riddles to test my problem solving