We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
My Logic to the program includes traversing the tree in Inorder so that we get the values in ascending Order and check if the list has duplicates or elements in descending order.
Is This a Binary Search Tree?
You are viewing a single comment's thread. Return to all comments →
My Logic to the program includes traversing the tree in Inorder so that we get the values in ascending Order and check if the list has duplicates or elements in descending order.