Available question text
Given a strictly increasing array of rung heights and a maximum climb distance dist from starting height 0, determine the minimum number of integer-height rungs to insert so every step between consecutive positions (including from 0) is at most dist. The core task is to examine each gap and add the fewest rungs needed to split any gap larger than dist into steps ≤ dist.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1936. Add Minimum Number of Rungs
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source