Can bst contain duplicates?
Answer / Ankit Chaturvedi
No, in a typical Binary Search Tree (BST), each node has a unique value. If duplicates are allowed, it ceases to be a binary search tree.
| Is This Answer Correct ? | 0 Yes | 0 No |
1. Wrie a function which returns the most frequent number in a list of integers. Handle the case of more than one number which meets this criterion. public static int[] GetFrequency(int[] list)
What is abstraction oop?
What are benefits of oop?
How do you make derived class as an abstract class?
What is the purpose of enum?
Program to read a comment string
Why we use classes in oop?
write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.
What is overloading and its types?
how to create thread in java?
17 Answers IBM, Infosys, Wipro,
what does exactly the linker do?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.