![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbUl3V6%2FbtsMbUFVKnk%2F7lTzS16OMKKmnT6UkRXUB1%2Fimg.png)
[LeetCode] 2349. Design a Number Container System (Python)
·
알고리즘/LeetCode
난이도: Medium문제 설명Design a number container system that can do the following:Insert or Replace a number at the given index in the system.Return the smallest index for the given number in the system.Implement the NumberContainers class:NumberContainers() Initializes the number container system.void change(int index, int number) Fills the container at index with the number. If there is already a num..