TikTok Interview Question

Data structures and algorithms, theoretical CS fundamentals