What's the right family of algorithms for calculating the operations needed to convert 1 list of unique values into another in diff order?
@eaf4 Assume I have a LL in the first order, and an array in the second order. And I want to move the LL to the array order.
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats you'd use some sort that's good for linked lists, where the comparison function uses index position in the array.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.