Algorithm: Monotonic stack Difficulty: Medium Time: 30 minutes
Goal
Return the first strictly greater value to the right of each index or -1 when no such value exists.
Coding (Algo)
Algorithm: Monotonic stack Difficulty: Medium Time: 30 minutes
Return the first strictly greater value to the right of each index or -1 when no such value exists.
Next Higher Reading is a coding (algo) interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as medium difficulty. It focuses on Technical Reasoning, Testing, Validation. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.