Sapiens interview question

implement merge sort using stacks