Find the minimum distance to travel through a road having hills [Interview Question]
Problem Statement: Alansh has to travel through a road having hills of different heights. Also each hill has a cave to pass through it, to avoid travelling extra distance of a hill. Alansh wants to travel through this road by taking at most K caves, so that he has to travel […]