Task: Store and Validate a Directed Acyclic Graph (DAG) as JSON
Task: Store and Validate a Directed Acyclic Graph (DAG) as JSON: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a solution that stores a Directed Acyclic Graph (DAG) in JSON format and validates whether a given JSON representation is actually a valid DAG (i.e., contains no…
The task
You need to implement a solution that stores a Directed Acyclic Graph (DAG) in JSON format and validates whether a given JSON representation is actually a valid DAG (i.e., contains no cycles).
Part of PrimeIntellect/Terminal-Lego-15k.