Python Data Structures and Algorithms
No non-sense solutions to common Data Structure and Algorithm interview questions in Python. Follows a consistent approach throughout problems.
There are a plenty of resources when it comes to interview preparations on the internet. What prompted me to create this project was the dissimilarity across different approaches and the infused complexity of the code.
Feel free to contribute but please follow the Contributing Guidelines as I want to maintain the uniformity of the implementation of data structures and algorithms. Last time around, people bombarded with me with Pull Requests, Issues and Emails insisting me to merge their changes
The open source community has helped me a lot during my interview preparations and studies while I was in my undergrad. I always wanted to give something back to the community. In my endeavour to contribute something back, I will be uploading data structures and algorithms questions in Python in this repo. Feel free to contribute and get in touch!
Structure of the repository
Contains all data structure questions categorised into sub-directories like stack, queue, etc according to their type.
- Binary Search Tree
- Linked List
- Circular Linked List
- Doubly Linked List
This directory contains various types of algorithm questions like Dynamic Programming, Sorting, Greedy, etc. The current structure of this directory is as follows:
You can find useful links in this repository in the different markdown files. Below is a table of contents.
Things need to be done
As you can see, the repo is still in its infancy. Here are some key things in the to-do.
- Queue questions
- More questions in data structures, especially for graph, circular linked list, trees, heaps and hash.
Contributions are always welcomed. Feel free to raise new issues, file new PRs. Consider giving it a star and fork this repo!
To follow the guidelines, refer to Contributing.md