Alex7's blog

By Alex7, 12 years ago, In English

I've read the topcoder tutorial about finding LCA using dp (this one) but I couldn't understand how the query function work. Any help would be appreciated.

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