add solution for recover_binary_search_tree