Pergunta de entrevista da empresa Apple

SQL and DSA (from leetcode)