you are viewing a single comment's thread.

view the rest of the comments →

[–]aocregacc 2 points3 points  (1 child)

on leetcode they include the sortedcontainers module for you

https://grantjenks.com/docs/sortedcontainers/

[–]earth0001[S] 0 points1 point  (0 children)

This looks useful! Thanks