For a better experience on RandomWits, enable JavaScript in your browser.
RandomWits
increasing entropy of the universe
Tags
Books
Quotes
Habits
Travel
Resources
About
Contact
On This Page
Posts Tagged “bfs”
Tue 21 Dec 2021
Course Schedule Leetcode Solution
There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i] = [a
i
, b
i
] indicates that you must take course b
i
first if you want to take course a
i
...
Continue reading →
leetcode
graph
bfs
java
python