categoryGrokking Coding Interview1 - Two-PointerNotesOn this pageNotesHow to set up two pointers in an arrayPythonWritten by @educative.iodef two_pointers(array): left = 0 right = len(array) - 1 while left <= right: left = left + 1 right = right -1