DRW Interview Question

OA leetcode medium hard 3 questions within 150 mins.