Define depth and height of a node?
Answer / Arvind Kumar Gautam
The depth of a node in a tree is the number of edges between it and the root node. The height of a node is the number of edges from that node to the farthest leaf node in the subtree rooted at that node.
| Is This Answer Correct ? | 0 Yes | 0 No |
What happens if we put a key object in a hashmap which exists?
Is quicksort a stable sorting algorithm?
What do you mean by the term “percolate up”?
What exactly is a thread?
What do you mean by union-by-weight?
Differentiate between list and set.
simple algorithm for bubble sort?
What is frozenset?
What is dynamic data structure?
Is int a data structure?
What is array and string?
Is arraylist a class?