I am going to use python for usaco silver in april so I was wondering what are the python equivalents of the data structures mentioned here so I can implement the best solution
I don’t think python has any sorted data structure like Java’s TreeSet
.
For more context, here’s a link explaining the design decision (kinda bad IMO, but what are you gonna do about it).
Yeah I figured python is just not the moves for silver to gold lmaoo so I am gonna switch to java. Thanks for your help though.
Unless you already know Java, learn C++. It’s by far the superior language for CP.
I already know java bc I took AP CSA so switching to it was a breeze but thanks though. I will switch over the summer when I have time