Interview Model Questions
 
 

Is it possible to find find the greatest and least value among the nodes in a given BST without using any extra variables?
A. No solution exist.
B. Solution need 2 extra variables
C. Solution exist without any extra variables
D. Solution need 1 extra variable
Is it possible to implement 2 stack in an array?
A. Only 1 stack can be implemented for the given condition
B. Stacks can not be implemented in array
C. 2 stacks can be implemented for the given condition.
D. 2 stacks can be implemented if the given condition is applied only for 1 stack.
Given two keys K1 & K2, write an algorithm to print all the elements between them with K1<=K2 in a BST.
A. Solution need 2 extra spaces
B. Linear solution is possible without using any extra space
C. No linear solution exist
D. Solution need 1 extra space
How many stacks are required to implement a Queue.
A. One
B. Two
C. Three
D. Two + one extra space.
How many numbers of addresses are usable for addressing in a Class C network?
A. 256
B. 255
C. 254
D. 258
{"name":"Interview Model Questions", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Is it possible to find find the greatest and least value among the nodes in a given BST without using any extra variables?, Is it possible to implement 2 stack in an array?, Given two keys K1 & K2, write an algorithm to print all the elements between them with K1<=K2 in a BST.","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker