+1 vote
in Data Structures & Algorithms I by (88.2k points)
If in a DAG N sink vertices and M source vertices exists, then the number of possible stacks in the Graph Structured Stack representation would come out to be N*M.

(a) True

(b) False

Asked question is from Incidence Matrix and Graph Structured Stack in section Graph of Data Structures & Algorithms I

I had been asked this question during an internship interview.

1 Answer

+1 vote
by (737k points)
selected by
 
Best answer
Correct answer is (b) False

Explanation: The answer would depend on the intermediate vertices also.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...