update remove_element another solution
update next_permutation from O(nlogn) to O(n)
update permutation_sequence another solution