Hi. in the "Two sum2- Input array sorted" problem, step 5 of the recommended algorithm link says that the "right" pointer should be decremented but in solution link, it implemented in such a way that "left" pointer is incremented. I think the recommended algorithm should be edited.
Hi. in the "Two sum2- Input array sorted" problem, step 5 of the recommended algorithm link says that the "right" pointer should be decremented but in solution link, it implemented in such a way that "left" pointer is incremented. I think the recommended algorithm should be edited.