sparse table
Предварительный просмотр (5 стр.)
Прокрутите вниз 👇
О "sparse table"
sparse table sparse table algorithms and data structures course sparse table sparse table is a data structure, that allows answering range queries. it can answer most range queries in , but its true power is answering range minimum queries (or equivalent range maximum queries). for those queries it can compute the answer in time. the only drawback of this data structure is, that it can only be used on immutable arrays. this means, that the array cannot be changed between two queries. if any element in the array changes, the complete data structure has to be recomputed. algorithms and data structures course sparse table idea any non-negative number can be uniquely represented as a sum of decreasing powers of two. …
Этот файл содержит 11 стр. в формате PPTX (411,9 КБ). Чтобы скачать "sparse table", нажмите кнопку Telegram слева.