← Questions

Build, validate and prune a computation graph

0
NvidiaCodingLast asked Feb 2026

Implement a small graph of neural-network operations: add nodes and dependencies, check structural rules, detect cycles, and remove branches that do not contribute to the required outputs.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding