Data structure question

Правка en2, от waipoli, 2024-01-08 21:36:47

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?

Теги data structures, question

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский waipoli 2024-01-08 21:37:11 1 Tiny change: 'structure,which can ' -> 'structure, which can '
en2 Английский waipoli 2024-01-08 21:36:47 108 Tiny change: 'me across this data' -> 'me across with this data'
en1 Английский waipoli 2024-01-08 21:35:15 176 Initial revision (published)