TikTok interview question

General Leetcode questions with common data structure and algorithms