Leetcode 1463. Cherry Pickup II | Hello Interview