Question
Which graph traversal technique is commonly used for
topological sorting?Solution
DFS is used for topological sorting in DAGs by recording the finish times of nodes.
On which floor does H live?
___ lives immediately above D in the same type of flat.
If in a certain code language ‘deal work’ is coded as ‘ynr fik’, then which of the following is the code of ‘when talent school’?
...What is the position of Y with respect to K?
How many boxes are there in between Black and Pink, if the box just kept below blue is yellow?
If all the persons are rearranged in alphabetical order of their name from top to bottom, then position of how many persons remains unchanged?
How many floors are there between W and S?
Which of the following box is kept just below the box which contains Guava?
How many boxes are kept above W?
Who is the tallest one?