search
Log In

Subject of choice: Data Structures

Questions:

  1. What is a BST?
  2. How will you traverse it?
  3. What is topological sorting?
  4. Where can you observe topological sorting in real life?
  5. Which BST traversal algorithm will give you exact/close approximation to topological sort?
  6. How will you modify the traversal algorithm to approximate topological sort? ( Couldn’t ans this well)
  7. Suppose you have an acyclic graph and there are two nodes which do now have an edge between them does swapping the two nodes have an effect on correctness of topological ordering?

Programming: WAP to find max element in linked list. 

posted Jul 23 in Interview Experience 557 views
1
Like
0
Love
0
Haha
0
Wow
0
Angry
0
Sad
...