merge k sorted lists & reverse node in group
next permutation & generate parentheses