Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

you-leee/python-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-practice

Python implementations of various algorithmic problems with example usages or tests. Others will follow! :)

Usage

First, run the setup.py' for installing the dependencies:

> python setup.py install

After this, you are set to run examples/tests:

> python DataStructures/HashTable.py

Available implementations

List of available implementations by categories. The ones marked with a [t] have test cases available.

Data structures

  • ArrayList [t]
  • Graph
  • Queue
  • Trie
  • BinaryHeap [t]
  • HashTable [t]
  • Stack

Sorting

  • Mergesort [t]
  • Quicksort [t]

Searching

  • BFS [t]
  • DFS [t]
  • BinarySearch [t]

Others

  • Find all integers, where a^3 + b^3 == c^3 + d^3 between 1 and 1000
  • Remove duplicates from list
  • Find recursively all combination of elements
  • Given 2 strings, S1 and S2, sort S1 in same order as S2

Releases

No releases published

Packages

No packages published

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.