Skip to content

Instantly share code, notes, and snippets.

@prampcontent
Created April 20, 2018 17:46
Show Gist options
  • Save prampcontent/e7cc9aecb467b893dd30fa3af6203914 to your computer and use it in GitHub Desktop.
Save prampcontent/e7cc9aecb467b893dd30fa3af6203914 to your computer and use it in GitHub Desktop.
input = [ . . . ]
left = 0
right = input.length()
while (left < right) {
. . .
left++
right--
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment