Wavelet trees for competitive programming

1Citations
Citations of this article
17Readers
Mendeley users who have this article in their library.

Abstract

The wavelet tree is a data structure to succinctly represent sequences of elements over a fixed but potentially large alphabet. It is a very versatile data structure which exhibits interesting properties even when its compression capabilities are not considered, efficiently supporting several queries. Although the wavelet tree was proposed more than a decade ago, it has not yet been widely used by the competitive programming community. This paper tries to fill the gap by showing how this data structure can be used in classical competitive programming problems, discussing some implementation details, and presenting a performance analysis focused in a competitive programming setting.

Cite

CITATION STYLE

APA

Castro, R., Lehmann, N., Pérez, J., & Subercaseaux, B. (2016). Wavelet trees for competitive programming. In Olympiads in Informatics (Vol. 10, pp. 19–37). Vilnius University. https://doi.org/10.15388/ioi.2016.02

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free