Least You Need to Know: Modeling Interview Problems as Graph Search
Open lesson
Many interview problems become easier once you name the state and the moves. When states become vertices and legal moves become edges, familiar tools like BFS and DFS suddenly apply.