Therap BD interview question

Leetcode problems medium and hard problems.