Minimum Barrier Clearance to Destination - Coding problem | OneNoughtOne