Mostafa__Fouad's blog

By Mostafa__Fouad, history, 2 years ago, In English

i was trying to solve Distinct Values Queries using a Fenwick tree i read this comment on how to solve it using A fenwick tree/segment tree but i didn't understand it very well so i was asking for an explanation of the solution

or any other solution using a Fenwick Tree

thanks in advance

Full text and comments »

  • Vote: I like it
  • +2
  • Vote: I do not like it