Search⌘ K
AI Features

Sort Items by Groups Respecting Dependencies

Sort Items by Groups Respecting Dependencies asks you to arrange items so prerequisites come first, groups stay contiguous, and ungrouped items form unique groups. If impossible, return an empty list.

Statement

You are given nn ...