Matrix & Grid
Rows, columns and neighbours — the grid problems interviews keep drawing.
Start the module
1. Grid Traversal · 4 min
0 of 5 lessons · 0% complete
Matrix & Grid visualizer
Every lesson in this module opens with an animation you can step through. This is the first one — Grid Traversal: Row first, column second, and always check the edge.
Grid Traversal
Step 1 of 10
rows3cols4
0
1
2
3
4
5
6
7
8
9
10
11
A grid is a list of rows, so grid[r][c] is row r, column c — row first, every time.
- Lessons
- 5
- Minutes
- 23
- Problems
- 14
- Concepts
- 5
Quiz yourself: 3 questions from this module
1 / 3