Leetcode 2560. House Robber IV
Select at least k non-adjacent houses so as to minimize the maximum value stolen from any chosen house — equivalently, find the smallest threshold T such that you can pick ≥k elements ≤T with no two adjacent. This is a feasibility-search problem (check if a candidate T allows ≥k picks under the non‑adjacency constraint) over the value range.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.