PlanSource Interview Question

2 Coding problems on DSA