problem: sort list, linked cycle list 1, linked cycle list 2, minstack