hamadu / competitive-programming-snippets

Competitive programming snippets (Java)
MIT License
8 stars 1 forks source link

Fast segment utils #5

Closed hamadu closed 8 years ago

hamadu commented 8 years ago

It may too slow to keep track TreeSet<Segment>. Using TreeMap<first_point_of_the_segment, this_segment_info>, it can be faster to operate things.

But it will be very buggy code.... :(

hamadu commented 8 years ago

implemented