AamirAnwar / PythonLab

Data structures and Algorithms in Python (Along with some interesting puzzles)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PythonLab

A collection of Data structures, Algorithms and interesting problems implemented in Python 3.

logo

How to run programs

index.py acts as the main executable depending on your config. Best to import whatever you want and run it there 🏃

Topics

  • Stacks
  • Queues
  • Linked Lists
  • Binary Trees
  • Graph Algorithms
  • Dynamic Programming Classics

Problems

  • KMP Search
  • Find all paths to the bottom right cell of a matrix
  • AVL Tree Insertion and Deletion
  • Bellman Ford Shortest Paths Algorithm
  • Binary Tree (Complete Implementation)
  • Binary Search
  • Counting Sort
  • Fibonacci Series (DP vs Recursion)
  • Fenwick Tree
  • Find the next greater element of all elements in a given array in O(n)
  • Find minimum sum which cannot be expressed using any of the elements of a given array
  • Graph (Complete implementation)
  • Heapsort
  • Hello World (LOL)
  • Insertion Sort
  • Interpolation Search
  • Kruskal Algorithm for finding the Minimum Spanning Tree in a Weighted Graph
  • Linked List (Complete Implementation)
  • Merge Sort
  • N Queen Problem 👉 Wiki
  • Given a string generate all possible Palindromic Partitions
  • Prim's Algorithm for finding the Minimum Spanning Tree in a Weighted Graph
  • Queue (Complete Implementation)
  • QuickSort ❤️
  • Rabin-Karp String Search
  • Selection Sort
  • Stack (Complete Implementation)
  • Generate all permutations of a given String
  • Tarjan's Algorithm for finding SCCs in a given Graph
  • Tower of hanoi 🏯
  • Trie
  • Word Break Problem
  • Z Algorithm for Substring Search
  • Print all combinations of a string

About

Data structures and Algorithms in Python (Along with some interesting puzzles)

License:MIT License


Languages

Language:Python 100.0%