1.

In which of the following does a Directed Acyclic Word Graph finds its application in?(a) String Matching(b) Number Sorting(c) Manipulations on numbers(d) Pattern PrintingI want to ask this question from Propositional and Directed Acyclic Word Graph topic in chapter Graph of Data Structures & Algorithms II had been asked this question during a job interview.

Answer»

The CORRECT answer is (a) String Matching

To explain: A Directed Acyclic Word Graph is similar to SUFFIX TREE, it can be viewed as a Deterministic Finite AUTOMATA.



Discussion

No Comment Found

Related InterviewSolutions