List of top Computer Science and IT Engineering Questions

Consider the following pseudocode for depth-first search (DFS) algorithm which
takes a directed graph ๐บ(๐‘‰, ๐ธ) as input, where ๐‘‘[๐‘ฃ] and ๐‘“[๐‘ฃ] are the discovery time
and finishing time, respectively, of the vertex ๐‘ฃ โˆˆ๐‘‰.
๐ท๐น๐‘†(๐บ):
๐‘ข๐‘›๐‘š๐‘Ž๐‘Ÿ๐‘˜ ๐‘Ž๐‘™๐‘™ ๐‘ฃโˆˆ๐‘‰
๐‘ก โ†0
๐‘“๐‘œ๐‘Ÿ ๐‘’๐‘Ž๐‘โ„Ž ๐‘ฃโˆˆ๐‘‰
๐‘–๐‘“ ๐‘ฃ ๐‘–๐‘  ๐‘ข๐‘›๐‘š๐‘Ž๐‘Ÿ๐‘˜๐‘’๐‘‘
๐‘กโ†๐ธ๐‘ฅ๐‘๐‘™๐‘œ๐‘Ÿ๐‘’(๐บ, ๐‘ฃ, ๐‘ก)
๐‘’๐‘›๐‘‘ ๐‘–๐‘“
๐‘’๐‘›๐‘‘ ๐‘“๐‘œ๐‘Ÿ
๐ธ๐‘ฅ๐‘๐‘™๐‘œ๐‘Ÿ๐‘’(๐บ, ๐‘ฃ, ๐‘ก):
๐‘š๐‘Ž๐‘Ÿ๐‘˜ ๐‘ฃ
๐‘ก โ†๐‘ก+ 1
๐‘‘[๐‘ฃ] โ†๐‘ก
๐‘“๐‘œ๐‘Ÿ ๐‘’๐‘Ž๐‘โ„Ž (๐‘ฃ, ๐‘ค) โˆˆ๐ธ
๐‘–๐‘“ ๐‘ค ๐‘–๐‘  ๐‘ข๐‘›๐‘š๐‘Ž๐‘Ÿ๐‘˜๐‘’๐‘‘
๐‘กโ†๐ธ๐‘ฅ๐‘๐‘™๐‘œ๐‘Ÿ๐‘’(๐บ, ๐‘ค, ๐‘ก)
๐‘’๐‘›๐‘‘ ๐‘–๐‘“
๐‘’๐‘›๐‘‘ ๐‘“๐‘œ๐‘Ÿ
๐‘ก โ†๐‘ก + 1
๐‘“[๐‘ฃ] โ†๐‘ก
๐‘Ÿ๐‘’๐‘ก๐‘ข๐‘Ÿ๐‘› ๐‘ก
Suppose that the input directed graph ๐บ(๐‘‰, ๐ธ) is a directed acyclic graph (DAG).
For an edge (๐‘ข, ๐‘ฃ) โˆˆ๐ธ, which of the following options will NEVER be correct?