Блог пользователя Lakh

Автор Lakh, история, 5 лет назад, По-английски

I am trying to understand the implementation of persistent trie data structure but unable to understand how range query works in case of persistent trie. Please provide some insight regarding range queries in persistent trie.

  • Проголосовать: нравится
  • +1
  • Проголосовать: не нравится

»
5 лет назад, # |
  Проголосовать: нравится +24 Проголосовать: не нравится

What kind of range query do you want to compute?

»
5 лет назад, # |
  Проголосовать: нравится -11 Проголосовать: не нравится

If you use lazy propagation you should clone children before pushing.

Try to follow the rule not to change any values :D