Level-Ordered Dependency Build Order

Quick Overview

This question evaluates a candidate's ability to model dependency relationships as a graph and produce a valid topological build order. It tests knowledge of level-by-level (BFS-style) topological sorting, along with correct detection of cycles and missing references, a common way to assess graph traversal and edge-case reasoning in coding interviews.

Level-Ordered Dependency Build Order

Company: Roblox

Role: Machine Learning Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: This question evaluates a candidate's ability to model dependency relationships as a graph and produce a valid topological build order. It tests knowledge of level-by-level (BFS-style) topological sorting, along with correct detection of cycles and missing references, a common way to assess graph traversal and edge-case reasoning in coding interviews.

|Home/Coding & Algorithms/Roblox
Roblox logo
Roblox
Jun 21, 2026
mediumMachine Learning EngineerTechnical ScreenCoding & Algorithms
6
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...