Q1
Middle element in a linked list
Q2
How to find whether two given trees are exactly similar?
Q3
How to print only leaf nodes of a tree?
Q4
How to Design a stack which supports push, pop, min and max operations in O(1)?
Q5
What are the differences between DFS and BFS?
Q6
How to find whether the graph is connected and whether it is a tree?
Q7
How to find whether the graph is connected and whether it is a tree?
How will you find out if it is a tree.
Q8
Q9
How to call a C++ function which is compiled with C++ compiler in C code?
Q10
If you are given the name of the function at run time how will you invoke the function?