Question d’entretien chez WhatBytes

What is a segment tree ?

Réponse à la question d'entretien

Utilisateur anonyme

6 août 2024

A Segment Tree is a data structure that stores information about array intervals as a tree. This allows answering range queries over an array efficiently, while still being flexible enough to allow quick modification of the array.