Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Sorted Containers in Python?

Revision en1, by JoeDelaney2012, 2024-05-30 21:47:59

The module sortedcontainers is not included in the built-ins which means there is no easy way to have ordered dicts, sets, lists natively. How would you suggest we should do when an ordered set is necessary for example?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English JoeDelaney2012 2024-05-30 21:47:59 247 Initial revision (published)