offline solution

Revision en1, by speedster, 2015-08-16 10:28:11

How to solve this: given multiple query of type : x l r , we need to find the frequency of x in the range r to l. There are no updation so basically calls out for an offline algorithm .

Tags segment tree

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English speedster 2015-08-16 10:28:11 203 Initial revision (published)