Pergunta de entrevista da empresa TechSophy

3 Puzzles, coding question and sql question.