Skip to content

Python algorithms and data structures

Notifications You must be signed in to change notification settings

mocox/PY-Data-Structures

Repository files navigation

Data Structues Using Python

Python algorithms and data structures is a set of file to help understand algorithms and data structures. Although these files are written in python the principles are the same for any language. Just convert them to the language of your choice, javascript, C#, java etc.

Although many languages encapsulate these algorithms into their packages / interpreters etc, its good to understand how these work.

You can check out these sorting algorithms visually at https://visualgo.net/en

A list of Files

Basic Searches

linearSearch.py - shows a search from front to back of an array
binarySearch.py - shows a binary search of a sorted aray

Basic Sorts

bubbleSort.py - shows a bubble sort of an array
selectionSort.py - shows a selection sort on an arry

Other Sorts

insertionSort.py - shows an insertion sort of an array
seledctionSort.py - shows a selection sort of an array
mergeSort.py - shows a merge sort
quickSort.py - shows a quick sort of an array
radixSort.py - shows a radix sort of a numerical array

Data Structures

doubleLinkedList.py - double linked list implement by python
linkedList.py - single linked list implement by python
bfs_and_dfs.py - binary search tree with implementation of breadth first search and depth first search algorythms
graphs.py - graphs implement by python
implement_hash.py - hash table implement by python
queue.py - queue implement by python
stacksAR.py - stack implement by array list
stacksLL.py - stack implement by linked list

More Coming

About

Python algorithms and data structures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages