Therap BD interview question

Basic problem solving copies from leetcode