TikTok interview question

Leetcode problems and math questions