LeetCode Question · Jan 2022

Uber Phone interview

5 upvotes 1,796 views 6 replies

Question Details

Above question is to find a single possible solution, however the interviewer wanted all possible courses that can be taken, E.g. prerequisites = [[1,0],[2,0],[3,1],[3,2]] Output: [0,1,2,3], [0,2,1,3] ..... all possible valid...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding