Apple Interview Question

SQL and DSA (from leetcode)