Rank & Select

Last week: Models of computation Link to heading Big-O notation Word RAM model Applications & limitations Today Link to heading Bit vectors storing bits Rank counting 1-bits Select finding 1-bits Engineering Rank making it fast Elias-Fano coding storing integers efficiently Bit vectors Link to heading Definition 1 . A static bit vector is an implicit data structure storing \(n\) bits \(b_0, \dots,…