Roche Interview Question

2 Easy to Medium leetcode