An open API service indexing awesome lists of open source software.

https://github.com/tim0-12432/data-structures


https://github.com/tim0-12432/data-structures

data-structures datastructures datastructures-algorithms

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

        

# Datastructures

[![Tests](https://github.com/tim0-12432/data-structures/actions/workflows/dotnet.yml/badge.svg)](https://github.com/tim0-12432/data-structures/actions/workflows/dotnet.yml)

Originated through my preparation for the exams in modules `Object-Oriented Programming` and `Algorithms and Datastructures`.

Meme

## Single linked list :heavy_check_mark:

![single linked list](./doc/images/single-linked-list.png)

| Reference | Note |
|------------|-----------------------------------|
| Successor | the following element in the list |

## Double linked list :heavy_check_mark:

![double linked list](./doc/images/double-linked-list.png)

| Reference | Note |
|-------------|------------------------------------------------|
| Successor | the following element in the list |
| Predecessor | the element in the list before the current one |

### Circular double linked list :heavy_check_mark:

## Stack :heavy_check_mark:

![stack](./doc/images/stack.png)

## Queue :heavy_check_mark:

![queue](./doc/images/queue.png)

## Hashtable :heavy_check_mark:

![hashtable](./doc/images/hashtable.png)

## Binary Tree :heavy_check_mark:

![binary tree](./doc/images/binary-tree.png)

| Reference | Note |
|------------|--------------------------------|
| Parent | the parent element in the tree |
| LeftChild | the element following left |
| RightChild | the element following right |

## Red-Black-Tree :heavy_check_mark:

![red black tree (black height=2)](./doc/images/rb-tree.png)

## Heap :heavy_check_mark:

![max heap](./doc/images/max-heap.png)

## B-Tree :x:

![b tree (k=2)](./doc/images/b-tree.png)

## Fibonacci-Heap :heavy_check_mark:

![fibonacci heap](./doc/images/fib-heap.png)

| Reference/Attribute | Note |
|---------------------|--------------------------------|
| Parent | the parent element in the tree |
| LeftNeighbour | the element following left |
| RightNeighbour | the element following right |
| Child | the children in a list |
| Degree | amount of children |
| Mark | flag set when lost a child |
| Key | priority of the node |