TikTok Interview Question

The coding problem was tough and categories under the hard section of the leetcode

Interview Answer

Anonymous

Aug 30, 2024

I explain my approach but i didn't consider the edge cases as results I'm not able to pass