Pergunta de entrevista da empresa Citi

Provided 10 -20 small coding sets and asked to identify the bugs.