Python sortedcontainers

Revision en1, by monu_dixit, 2023-12-29 10:40:11

Python enthusiasts might face limitations accessing certain libraries like sortedcontainers during contests such as the recent Round 918 (Div 4) on Codeforces. While the problem F in that contest could be efficiently solved using SortedList from sortedcontainers, unfortunately, the platform might not support this module. Consequently, Python users had to opt for alternative approaches such as Binary Indexed Trees (BIT) or merge sort to tackle the problem. It's worth noting that while sortedcontainers could have been a valuable asset in solving the problem, its absence might have prompted participants to explore other techniques available within the contest environment.

Tags python

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English monu_dixit 2023-12-29 10:40:11 700 Initial revision (published)