Useless question, which it do not show the values of BST. I thought it should find the answer in BST. But it just use inorder then find it as normal two sum.
Useless question, which it do not show the values of BST. I thought it should find the answer in BST. But it just use inorder then find it as normal two sum.