Pergunta de entrevista da empresa IBM

There were two coding questions: the first one was in Python, and the second one was in SQL.