# trees

tries

priority-queue

## R-tree

Simple example of an R-tree for 2D rectangles Visualization of an R*-tree for 3D cubes using ELKI R-trees are tree data structures used for spatial access methods , i.e., for indexing multi-dimensional information such as geographical coordinates , rectangles or polygons . The R-tree was proposed by Antonin Guttman in 1984 [ 1 ] and has found significant use in both theoretical and applied contexts. [ 2 ] A common real-world usage for an R-tree might be to store spatial objects such as restaurant locations or the polygons that typical maps are made of: streets, buildings, outlines of lakes, coastlines, etc. and then find answers quickly to queries such as "Find all museums within 2 km of my current location", "retrieve all road segments within 2 km of my location" (to display them in a navigation system ) or "find the nearest gas station" (although not taking roads into account).
In computer science , a segment tree is a tree data structure for storing intervals , or segments. It allows querying which of the stored segments contain a given point. It is, in principle, a static structure; that is, its content cannot be modified once the structure is built.

## Segment tree

A simple B+ tree example linking the keys 1–7 to data values d 1 -d 7 . The linked list (red) allows rapid in-order traversal. A B+ tree is an n-ary tree with a variable but often large number of children per node. A B+ tree consists of a root, internal nodes and leaves.

## MIT’s Introduction to Algorithms, Lecture 11: Augmenting Data St

This is the seventh post in an article series about MIT's lecture course " Introduction to Algorithms ." In this post I will review lecture eleven, which is on the topic of Augmenting Data Structures . There are some programming situations that can be perfectly solved with standard data structures such as a linked lists, hash tables, or binary search trees. Many others require a dash of creativity. Only in rare situations will you need to create an entirely new type of data structure, though.

## MIT’s Introduction to Algorithms, Lectures 9 and 10: Search Tree

This is the sixth post in an article series about MIT's lecture course " Introduction to Algorithms ." In this post I will review lectures nine and ten, which are on the topic of Search Trees . Search tree data structures provide many dynamic-set operations such as search , insert , delete , minimum element , maximum element and others. The complexity of these operations is proportional to the height of the tree. The better we can balance the tree, the faster they will be. Lectures nine and ten discuss two such structures.
By Julienne Walker License: Public Domain W elcome back! Or if this is your first experience with my tutorials, get ready for a good time. But first, why another red black tree tutorial?