algorithms
algorithms copied to clipboard
two pointer approach added