RedEyedDino's blog

By RedEyedDino, history, 6 weeks ago, In English

I was wondering if there is a self-balancing tree in the standard library of python. I'm aware that there is a sortedcontainers library that has SortedList but this is not in a part of stdlib

 
 
 
 
  • Vote: I like it
  • +3
  • Vote: I do not like it

»
6 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Unfortunately, no.

»
6 weeks ago, # |
  Vote: I like it +1 Vote: I do not like it

Unfortunately, NO — but you can work around with This. Time-Complexity could be an issue on CF but works fine at CC, Atcoder.