Evaluations — Input View

Evaluations for input

2 rows

Input
Output
Evaluation Input Image

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

Evaluation Input Image

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

Page 1 of 1

Input

Input ID
cdab26b9-bf6f-4055-9d58-097cce29a65d
Created
February 13, 2024
Permission
Public