TikTok Interview Question

Q: Dynamic programming and array leetcode questions.