summaryrefslogtreecommitdiff
path: root/src/main/ConnectedComponents.java
diff options
context:
space:
mode:
authorHaidong Ji2020-05-20 18:37:36 -0500
committerHaidong Ji2020-05-20 18:37:36 -0500
commita3d28d9ea91f90af072066b2a77030e929ab0f0e (patch)
treebe4ae5b824f003f1050590415043f685ad13f564 /src/main/ConnectedComponents.java
parent2dd66619bbd1bf45e092c54f70d89d8f27d269dc (diff)
Check if DAG (Directed Acyclic Graph) done. In the exercise it's Checking Consistency of CS Curriculum. For the clock variable to assign pre-visit and post-visit values, I used a trick of defining the clock as int[1], so its mutable and I can increment it. I don't know if that's a best practice, but for now I'm happy that the program is good. Fun stuff!
Diffstat (limited to 'src/main/ConnectedComponents.java')
0 files changed, 0 insertions, 0 deletions