vivi489 / ordered_set

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ordered_set

A Python analogy of set in C++ and PriorityQueue in Java. Expected Performance is

insert - O(logn)

remove - O(logn)

find - O(logn)

Operations supported in the current version include

insert

remove

find

max

min

built-in len() is supported

Operations pending for implementation include

upper_bound

lower_bound

About


Languages

Language:Python 100.0%