Skip to content

robert-godlewski/python_algo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

All of these algorithms are my solutions to LeetCode Problems in Python. Look under the What's Covered section for more details.

This is also a CLI program where you can run certain groups of algorithm solutions. Look under the How to run this on computer to install and run on your local computer.

To specifically look at the solutions please go to the .../algo/solutions directory and then choose the solution file that you would like to see.

What's Covered

Data Structures covered:

  • Arrays
  • Strings
  • Hash Tables (Hashsets and Hashmaps)
  • Linked Lists
  • Queues and Stacks
  • Binary Trees

Algorithms covered:

  • Recursion
  • Binary Math
  • Binary Search
  • Bubble Sort
  • Selection Sort
  • Insertion Sort
  • Quick Sort
  • Merge Sort
  • Counting Sort
  • Radix Sort
  • Bucket Sort

How to run this on computer

Note: Currently only have this working for mac

First time installation using pip

  1. Fork this repo to your computer via terminal
  2. Run this command via terminal: % pip3 install pipenv

Running app with pipenv

  1. Activate environment run in directory terminal: % pipenv shell
  2. Run this command via terminal: (repo_directory_name) ... % python python_algo.py
  3. Follow instructions of the CLI
  4. Deactivate enviornment: (repo_directory_name) ... % exit

Need to do:

Data structures:

  • Graphs
  • Tries

Sorting Algorithms

  • Comb Sort
  • Shell Sort
  • Heap Sort

References

Releases

No releases published

Packages

No packages published

Languages