Meta interview question

next permutation, basic calculator, find value in bst.