Segment Tree Problem!

Revision en1, by Mhammad1, 2015-08-10 23:28:41

Hello every one

I've solved this problem but I have different questions about this problem:

The link : Frequent Values

The questions:

1 — How can I solve this problem if the values not sorted?

2 — How can I solve this problem online?

3 — How can I solve this problem if the values not sorted and online?

Tags segment tree, sqrt_decomposition

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Mhammad1 2015-08-12 11:35:09 105
en1 English Mhammad1 2015-08-10 23:28:41 444 Initial revision (published)