11.09 · Problem
Course Schedule II
This problem is part of solulu Pro
Same setup as Course Schedule: [a, b] means take b before a. Return an order in which you can take all courses. If several orders work, return any of them; if it's impossible, return an empty array.
Lifetime ₹1,999 ₹999 · Launch offer
Item 88 of 150 · updated 2026-10-12