5udipta's blog

By 5udipta, history, 10 years ago, In English

How can I solve this problem using RMQ or LCA algorithm?

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

»
10 years ago, # |
  Vote: I like it +1 Vote: I do not like it

You might want to consider using a policy based data structure to simplify the code. Check out this post.