Set 13 - Graphs BFS/DFS

Use Practice Loop if you need a reset.

Problems

ProblemDifficultyPatternVideo
LC 994. Rotting OrangesMediumMulti-source BFSVideo
LC 286. Walls and GatesMediumMulti-source BFSVideo

Deliverables

  • Write a 1-line invariant for each problem.
  • Note 1 edge case or pitfall per problem.
  • Record time-to-first-correct solution.

Notes

  • LC 994: multi-source BFS; minutes = layers.
  • LC 286: multi-source BFS from gates to fill distances.

Review

  • Time spent + where you got stuck?
  • Biggest mistake or missed edge case?
  • One concrete improvement for next time.

Comments

Share your approach or ask questions

0 comments
?
|
Markdown supported
Sign in to post

Loading comments...