Maximum Fruits Harvested After at Most K Steps | Leetcode 2106 | Binary Search