Function result of halving the stack s

halve stacks

Format:

result of halving the stack s

Input:

list s -

Output:

list - None

Properties that reference this function:

result of halving the stack stack = output of the halve stack function where input stack is stack, other stack is [ ], and count is ((length of stack stack) / 2) (halve stack begin)

Conditional properties that reference this function:

  • if result of halving the stack stack = [ first_half, [ second_half, [ ] ] ], then result of merge sorting stack = result of merging stacks (result of merge sorting first_half) and (result of merge sorting second_half) (link)


Comments

Please log in to add comments