A series of programming problems written and solved in Python.
Download this folder as a .zip and start solving problems. The questions are all setup already. They specify an example, ideal time efficiency, difficulty and include test cases that you can uncomment out and run to ensure your function works.
To run a .py file from terminal run:
$> python arrays.py
Please let me know if you find any issues or would like the methods better to be commented.
Problems cover the following topics:
- Arrays
- Dynamic Programming
- Graphs
- Bit Manipulation
- Data Structures
- Stacks
- Queues
- Heaps
Problems come from a variety of sources including:
- Codility.com
- HackerRank.com
- Careercup.com
- ProjectEuler.net
- Reddit.com/r/cscareerquestions
- Cracking the Coding Interview (Gayle Laakmann)