Specialized data structures and algorithms