Available question text
Design a data structure that supports assigning/replacing a number at any index and returning the smallest index that currently contains a given number (or -1 if none). With up to 1e5 operations and index/number values up to 1e9, the challenge is to support efficient updates and min-index queries per number.
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 2349. Design a Number Container System
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source