Skip to content
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Home
/
Backend Developer
/
Questions
/
Grid Graphs
Backend Developer
Grid Graphs questions
9 questions on Grid Graphs for backend developers, easiest first.
Easy
1
Neighbours of a cell in a grid
easy
Medium
6
Spreading from many starting points
medium
Shortest grid path around a wall
medium
Recursive flood fill on a huge grid
medium
Capturing regions not touching the border
medium
Cells that drain to two oceans
medium
Island count as land is added
medium
Hard
2
Island count with diagonal neighbours
hard
Visited set for a 5000 × 5000 grid
hard