Fastest Ferry Problem

Company: Infosys_1staug

Difficulty: medium