Input | Output |
---|---|
In the following graph, discovery time stamps and finishing time stamps of Depth First Search (DFS) are shown as x/y, where x is discovery time stamp and y is finishing time stamp. <image 1> shows which of the following depth first forests? (A) {a, b, e} {c, d, h} {f, g} (B) {a, b, e} {f, g} {c, d} {h} (C) {a, b, e} {f, g} {c, d} {h} (D) {a, b, e} {c, d, f, g, h} Answer with the option's letter from the given choices directly. No punctuation. | In the conversation, you discuss the relationship between 11 discovery time stamps, 11 finishing time stamps, and 11 depth first search trees in each of the depth first forests. For each pair of data, you specify the matching pairs of discovery and finishing time stamps. Expected Answer: D Difficulty: Medium Subfield: Data Structure and Algorithm |
In the following graph, discovery time stamps and finishing time stamps of Depth First Search (DFS) are shown as x/y, where x is discovery time stamp and y is finishing time stamp. <image 1> shows which of the following depth first forests? (A) {a, b, e} {c, d, h} {f, g} (B) {a, b, e} {f, g} {c, d} {h} (C) {a, b, e} {f, g} {c, d} {h} (D) {a, b, e} {c, d, f, g, h} Answer with the option's letter from the given choices directly. No punctuation. | C Expected Answer: D Difficulty: Medium Subfield: Data Structure and Algorithm |
Rows per page