Keys and Rooms (DFS)
Hello!! Today is the second of 365 days of covering Algo questions and concepts! We're going to go into graphs today by solving a Leetcode question.
Description:
There are N rooms and you start in room 0. Each room has a distinct number in 0, 1, 2, ....
eikon.hashnode.dev3 min read