VASYA AND ROBOT [HELP] SLIDING WINDOW OR BINARY SEARCH
Problem is this problem similar to LeetCode can we use the same concept for this problem too?