How they meet at any point. As on each index they taking one steps so there are only few index where thery are going to meet means in code sir is checking i=2 and j=2 but how they can meet here as for this girl have to move fast thanand boy have to wait some point, Cann’t understand how we calculating