Oracle logoOracle
Coding·45 minMembers

Maximum Completable Tasks with Prerequisites (Topological)

Members only

Given a set of tasks and prerequisite dependencies (a task can only be performed after all its prerequisites finish), return the maximum number of tasks that can be completed. If a cycle exists, the t...

SWE
Infra Eng
graph
topological-sort
bfs
dfs
medium
Frequency
Single report
Last asked
2025-04-02
Stage
phone-screen

Log in to continue reading the full content