Skip to content

About

a documentation for my data structure and algorithms study progress

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

70 Commits

Folders and files

Repository files navigation

data-structure-and-algorithms-collection

In the word of Richard Feynman

What I cannot create, I do not understand

📚 Python Implementations by @anhtumai Linkedin

MIT license

Introduction

My implementations (and documentations) of basic data structures and problem solving techniques from scratch for study purpose. It is inspired by @quynhhgoogoo 's repo and @keon 's repo.

Progress

Data structure table:

Data Structure Implemented Tested
Linked List
Singly linked list ✔ ✔
Doubly linked list ✔ ✔
Circular linked list ✔ ✔
Floyd cycle detection ✔ ✔
Graph
Breadth first search ✔ ✔
Depth first search ✔ ✔
Djisktra shortest path algorithm ✔ ✔
Topological Sort ✔ ✔
Computing SCC ✔ ✔
Prim Minimum Spanning Tree ✔
Kruskal Minimum Spanning Tree ✔
Tree
0/1 Knapsack problem (Decision Tree) ✔ ✔
Binary search tree ✔ ✔
Immutable bst ✔ ✔
AVL tree ✔ ✔
Immutable AVL tree ✔ ✔
Red Black tree ✔ ✔
Heap
Min/Max heap ✔ ✔
Median Heap ✔ ✔
Heap sort ✔ ✔

Algorithm table:

Algorithm Implemented Tested
Divide and Conquer
Merge sort ✔ ✔
Quick sort ✔ ✔
Quick select ✔ ✔
Closest Points ✔ ✔
Counting inversions ✔ ✔
Greedy
Fractional Knapsack problem (Greedy) ✔ ✔
Prim Minimum Spanning Tree ✔
Kruskal Minimum Spanning Tree ✔

Environment

  • OS: Fedora 33
  • Python 3.9

About

a documentation for my data structure and algorithms study progress

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages