Figure 5: Unstacking is easy when the stacks are simply linked lists. It suffices to make the last element of each stack point to the first element of the next stack. You thus unstack the data in a number of operations proportional to the number of stacks, not to the number of elements.