TikTok interview question

Leetcode problems: - Merge Intervals - House Robber