There are quite a few problems that can use TreeSet or TreeMap, but it seems python does not have anything? Any tips on how to deal with this. Recently switched over from java to pyhton
https://leetcode.com/problems/the-skyline-problem/ -> Needs removal O log(n)
https://leetcode.com/problems/k-empty-slots/ -> TreeMap is a accepted solution
Thanks,
Uv