AKUNA CAPITAL Interview Question

Sort a binary tree with efficiency limitation