[subject line]
adding more comments about next sequence permutation
optimal is O(N) solution