Katkat

Design an IR for test workflows

NVIDIASoftware Engineer · Online Assessment

Last updated

This interview question evaluates algorithm design, data structures, correctness, complexity, edge cases, and implementation details in a realistic interview setting. A strong answer for Design an IR for test workflows states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

Design an intermediate representation (IR) for a graphics testing workflow as a DAG. Define node/edge types, metadata, and side-effect modeling. Explain how to compile this IR into an executable plan with caching, incremental rebuilds, and deterministic ordering. How would you handle versioning and schema evolution?