Function result of merging stacks s1 and s2
merge stacks s1
Format:
result of merging stacks s1 and s2
Input:
list s1 -
list s2 -
Output:
list - None
Properties that reference this function:
result of merging stacks a and b = output of the merge_stacks function where input stacks are a and b, and merged stack is [ ] (merge stacks 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