give root binary search tree return balanced binary search tree node value if answer return themA binary search tree balanced depth subtree node differ 1 Example 1input root 1null2null3null4nullnulloutput 213nullnullnull4explanation this correct answer 314null2 correctExample 2input root 213output 213 ConstraintsThe number nod tree range 1 1041 Nodeval 105