Pergunta de entrevista da empresa Quby

It had 3 questions: One was programming question. Second was to find a bug in the code. Third was to solve a SQL query. There was sufficient time to solve the problems.