Most answered questions in Programming and DS

168 votes
17 answers
1
67 votes
14 answers
2
The number of possible min-heaps containing each value from $\{1,2,3,4,5,6,7\}$ exactly once is _______
70 votes
13 answers
3
42 votes
12 answers
6
Consider a binary tree T that has $200$ leaf nodes. Then the number of nodes in T that have exactly two children are ______.
35 votes
12 answers
7
57 votes
12 answers
8
In a binary tree with $n$ nodes, every node has an odd number of descendants. Every node is considered to be its own descendant. What is the number of nodes in the tree ...
30 votes
11 answers
14
57 votes
11 answers
17
In a binary tree, the number of internal nodes of degree $1$ is $5$, and the number of internal nodes of degree $2$ is $10$. The number of leaf nodes in the binary tree i...
62 votes
11 answers
19
Consider a hash function that distributes keys uniformly. The hash table size is $20$. After hashing of how many keys will the probability that any new key hashed collide...