Capital OneCoding·70 minMembers
Beautify Houses to Strict Monotone
Members only
Given an integer array of house heights, return the minimum number of `+1` operations needed so the array is either strictly `+1`-increasing (each entry exactly one greater than the previous) or stric...
MLE
array
greedy
math
medium
oa
codesignal
Frequency
Single report
Last asked
2026-04-25
Stage
oa
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
