Skip to content
RED SAGSkills
medium10 pts · first answer countsgraphsdfsgrid-graphs

Cells that drain to two oceans

Water flows from a cell to a neighbour of equal or lower height. To find cells that can reach both the Pacific (top and left edges) and Atlantic (bottom and right), what is efficient?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions