Hello codeforces!
Recently in the problem I came across with this data structure,which can perform this operations:
add element
delete element
return the maximal of it
with O(1) for query.
So the question is simple: is it exist?
# | User | Rating |
---|---|---|
No items |
# | User | Contrib. |
---|---|---|
1 | maomao90 | 171 |
2 | awoo | 163 |
2 | adamant | 163 |
4 | maroonrk | 152 |
5 | nor | 151 |
5 | -is-this-fft- | 151 |
7 | TheScrasse | 147 |
7 | atcoder_official | 147 |
9 | Petr | 145 |
10 | pajenegod | 144 |
Data structure question
Hello codeforces!
Recently in the problem I came across with this data structure,which can perform this operations:
add element
delete element
return the maximal of it
with O(1) for query.
So the question is simple: is it exist?
Name |
---|