InterviewDB
Question
Terrain Reach Score: Maximum Score Reachable on a Grid With Movement Constraints
phone
Question Details
Problem You have an m x n grid where each cell has a height value. Starting from any cell in the top row, move down, left, or right (not up). You cannot move to a cell whose height difference from the current cell exceeds a threshold t. The score for…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding
Onsite
Phone