Awesome Open Source
Awesome Open Source


build coverage

This repository is created by an awkward programmer who always struggles with coding problems on LeetCode, even with some Easy questions.

How on earth can I ever think of a solution like that in an interview?!

I'm working on implementing common Algorithms and Data Structures in Python (with test cases, of course), as well as straightforward solutions to some problems from LeetCode and HackerRank which I solved with frustration in mind.

Well, there are SO MUCH things to learn in Computer Science. I'm just a peasant who happens to write some crappy code for living.

This project requires Python 3.6 or higher.

No Whiteboards

Hiring Without Whiteboards

A list of companies (or teams) that don't do "whiteboard" interviews.

  • Discussing a real world problem (with or without whiteboard) is 👍
  • Solving CS trivia, technical puzzles, riddles, brainteasers (with or without whiteboard) is 👎



$ poetry install
$ poetry run pytest --benchmark-skip

If you don't use poetry, there is also a classic requirements-dev.txt file.


If you find any bug or incorrect implementation in this repo, please let me know by opening an issue or pull request. Me and my cats would appreciate your help since they provide some random strings which are used in two of test cases.





Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
python (48,431
algorithms (390
data-structures (341
interview (229
leetcode (169
interview-preparation (81
hackerrank (39
coding-interviews (38

Find Open Source By Browsing 7,000 Topics Across 59 Categories