if two identical elements are present in BST then how inorder can give sorted array as output ?
for ex. if 50,30,45,35,56,58,74,50,15 are inserted to make BST.
if any condition like this will come then the element which ill present in left will print first and then middle or right as per elements present in tree