divide using add and minus
longest valid parentheses
next permutation of a list
search range of a special number in a list
search position for inserted number
search in rotated list