抖阴社区

Advanced Data Structures

10 0 0
                                    

Linked List

A linked list is a set of data elements (data structure) where a node contains the data itself and a pointer to the next node; the data structure is non-contiguous, linear and dynamic

A linked list is a set of data elements (data structure) where a node contains the data itself and a pointer to the next node; the data structure is non-contiguous, linear and dynamic

Oops! This image does not follow our content guidelines. To continue publishing, please remove it or upload a different image.

 Trees

Tree- a non-linear hierarchal data structure which uses nodes to store data and has pointers to other nodes

Binary tree- parent nodes have a maximum of 2 child nodes

Strict binary tree- every parent has 2 nodes (no less)

Binary Search Tree- stores data in a sorted order

(side note: I have no idea what the original image without my annotations is or who made it

Oops! This image does not follow our content guidelines. To continue publishing, please remove it or upload a different image.

(side note: I have no idea what the original image without my annotations is or who made it. It was given to me, guess it just exists, idk)

 It was given to me, guess it just exists, idk)

Oops! This image does not follow our content guidelines. To continue publishing, please remove it or upload a different image.

Tree Traversal

Oops! This image does not follow our content guidelines. To continue publishing, please remove it or upload a different image.

Oops! This image does not follow our content guidelines. To continue publishing, please remove it or upload a different image.

Oops! This image does not follow our content guidelines. To continue publishing, please remove it or upload a different image.

Oops! This image does not follow our content guidelines. To continue publishing, please remove it or upload a different image.


Graphs

Graph- a set of vertices/ nodes connected by edges. The edges may be one-way (directional) or undirected(all edges are bi-directional). If all the edges are one way, it is a directed graph, or digraph.

 If all the edges are one way, it is a directed graph, or digraph

Oops! This image does not follow our content guidelines. To continue publishing, please remove it or upload a different image.

Adjacency Matrix

Adjacency List


Hash tables

-

Computer Science Reviews (A level)Where stories live. Discover now