Find the path from Southern California that accumulates the most rocks in a grid.
Unlock detailed company stats for this questionUpgrade
You are a rock collector in southern California planning a cross-country road trip to New York. Given a grid of numbers representing the rare rocks available in various cities, find the optimal path from Southern California that accumulates the most rocks. You can only travel north (up) or east (right).
Format · Technical interview.
Community answers
No answers contributed by the community yet.
Related questions
Find the shortest path from a source to a destination in a grid.Find the Safest Path in a Grid.Related courses

Course

Course
Course
