You are viewing a single comment's thread. Return to all comments →
How will it work if the values are 1 1 5 2 2 ? if the right pointer moved one index down, it will never find the solution (2, 2)
Seems like cookies are disabled on this browser, please enable them to open this website
Ice Cream Parlor
You are viewing a single comment's thread. Return to all comments →
How will it work if the values are 1 1 5 2 2 ? if the right pointer moved one index down, it will never find the solution (2, 2)