Posts

Showing posts from July 19, 2020

DAILY PUZZLE 1 (DEKHE KO JAANE)

Image
A) 44 B) 45 C) 46 D) 50 Q.2  Q: Solve the Logical Puzzle ? A) 2 B) 4 C) 8 D) 0

CHALLENGES QUESTIONS!!!

🔑 KEY TO SUCCESS!!!!                                                   DAY-1 Q.1.What Is the output printed by the following programs? #include int f(int n,int k) {    if(n==0) return 0; elseif (n%2) return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } int main() {   printf("%d",f(20,1); return 0; } A. 5 B. 8 C. 9 D. 20 Q.2.  A Binary search tree is generated by inserted in order the following integers? 50,15,62,5,20,58,91,3,8,37,60,24 The number of nodes in the left subtree and right subtree of the root respectively is. A.(4,7) B.(7,4) C.(8,3) D.(3,8) Q.3. How many distinct BSTs can be constructed with 3 distinct Keys? A. 4 B. 5 C. 6 D. 9                                             ...