Hot questions in Programming and DS

8 votes
5 answers
63
33 votes
6 answers
65
48 votes
8 answers
68
Consider the following C program segment.# include <stdio.h int main() { char s1[7] = "1234", *p; p = s1 + 2; *p = '0'; printf("%s", s1); }What will be printed by the pro...
73 votes
10 answers
69
27 votes
6 answers
70
90 votes
11 answers
72
43 votes
8 answers
76
An Abstract Data Type (ADT) is:same as an abstract classa data type that cannot be instantiateda data type for which only the operations defined on it can be used, but no...
57 votes
12 answers
79
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 ...
62 votes
11 answers
80
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...