Bnahmad15's blog

By Bnahmad15, history, 6 years ago, In English

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 ?

Full text and comments »

  • Vote: I like it
  • -4
  • Vote: I do not like it

By Bnahmad15, history, 8 years ago, In English

Hi guys I had a problem here I was solving a problem and I am writing my solution on ideone.com when I tried it on ideone it gives me 2 and when I submit here it gives me 1 ??? what is this plz help me :D :D

Full text and comments »

  • Vote: I like it
  • -14
  • Vote: I do not like it