Segment Tree Problem!

Правка en2, от Mhammad1, 2015-08-12 11:35:09

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?

Edit: The link for the first question is here: values not sorted

Теги segment tree, sqrt_decomposition

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Mhammad1 2015-08-12 11:35:09 105
en1 Английский Mhammad1 2015-08-10 23:28:41 444 Initial revision (published)