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

Автор tom, 9 лет назад, По-английски

Hello everyone,

I've found couple of interesting data structures recently, e.g:

Palindromic tree — http://adilet.org/blog/25-09-14/ ,
http://codeforces.com/blog/entry/13959 (thanks to adamant)

and Wavelet Matrix — http://www.dcc.uchile.cl/~gnavarro/ps/spire12.4.pdf (anta used it in problem E in last round — http://codeforces.com/contest/543/submission/11036065 )

It made me wonder, how many great and useful, less known data structures are out there?

This is a question for you — do you know any?

Please share them with us.

Greetings

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

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

Thanks for collecting them!

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

A bit more about palindromic tree: link

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

I think that this Wavelet Matrix is not the only data structure you can encounter in anta's codes :D. His library is truly astonishing. Check this code: http://codeforces.com/gym/100513/submission/8407367 :D

»
9 лет назад, # |
Rev. 2   Проголосовать: нравится +8 Проголосовать: не нравится

Anyone can explain how the Wavelet tree is being used in https://www.codechef.com/AUG15/problems/DISTNUM ? From anta's code it seems like it is indeed what is being used,

»
9 лет назад, # |
Rev. 4   Проголосовать: нравится +8 Проголосовать: не нравится

Will be great if the structures will be added on e-maxx.

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

We're waiting explanation from anta...

»
9 лет назад, # |
Rev. 2   Проголосовать: нравится +15 Проголосовать: не нравится

The data structure that I called "Wavelet Matrix/Tree" is not the true Wavelet Matrix/Tree because that is not succinct.

Basically, the data structure is a kind of implementation of range tree. It is maybe faster than usual implementation I believe.