The Mostly repeated number in range query

Правка en1, от Bnahmad15, 2018-07-14 21:42:46

given an array of integers with (N <= 1e6) and Q (Q <= 1e6) queries with L and R.. what is the mostly repeated number in range [L,R] ? is there any fast way to work it out ?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Bnahmad15 2018-07-14 21:42:46 223 Initial revision (published)