Python Data Structures and Algorithms
No non-sense solutions to common Data Structure and Algorithm interview questions in Python.
Objective
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
As of now, the repository contains 3 main directories: Bookmarks, Data Structures and Algorithms.
Data Structures
Contains all data structure questions categorised into sub-directories like stack, queue, etc according to their type.
- Array
- Dictionary
- Binary Search Tree
- Linked List
- Stack
- Graphs
- Circular Linked List
- Doubly Linked List
Algorithms
This directory contains various types of algorithm questions like Dynamic Programming, Sorting, Greedy, etc. The current structure of this directory is like -
Bookmarks
You can find useful links in this repository in the different markdown files. Below is a table of contents.
| Category | Link |
|---|---|
| Articles | Click Here |
| Books | Click Here |
| Topics | Click Here |
| Tutorials | Click Here |
| Videos | Click Here |
| Misc. | Click Here |
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
- Algorithms
- More questions in data structures, especially for graph, circular linked list, trees, heaps and hash.
Contributing
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
License
Metadata
Release files for python-ds 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python-ds-1.0.0.tar.gz | 3.2 kB | Without provenance | Details for python-ds-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_ds-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for python_ds-1.0.0-py3-none-any.whl |
Total release size: 6.9 kB
Release files / python-ds-1.0.0.tar.gz
| Download URL | python-ds-1.0.0.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5d80738f95bfb4ef7284b6b8a4e06f4f9a6d3dbffa3710c4b8054dd5bd05bcca
|
|
BLAKE2b-256 checksum How to use checksums |
d65984987a901b72f653c44f55a92752b88eca83230ac0017d4d02dadb02f6f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
|
Release files / python_ds-1.0.0-py3-none-any.whl
| Download URL | python_ds-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c8033dd0f057ec291b48a2eb094a5bc2bdade91dbe15afcd9d02abb55a74e15
|
|
BLAKE2b-256 checksum How to use checksums |
b18f2335bbaf7996b30888fb083f9baaa68b753aef3bd115812caceb3beacf79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
|
Security for python-ds 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.