TikTok Interview Question

leetcode problem like kth largest element and word break.