Domanda di colloquio di Bloomberg

Some coding question related to search.