merge sort in one line
result of merge sorting stack = result of merging stacks (result of merge sorting (the element at index 0 of stack (result of halving the stack stack))) and (result of merge sorting (the element at index 1 of stack (result of halving the stack stack)))
Comments
Please log in to add comments