MathWorksSoftware Engineer · OnsiteCodemia practiceBuild Order for Simulink Model References With Cycle Report
Given a set of Simulink models and pairs (parent, child) meaning the parent model references the child, return a build order where every referenced model builds before its parents, breaking ties alphabetically, or report the models stuck in a reference cycle.
Medium
Coding & Algorithms