TikTok Interview Question

a close variant of Leetcode 239