No non-sense solutions to common Data Structure and Algorithm interview questions in Python. Follows a consistent approach throughout problems.
针对常见的 Python 数据结构和算法面试题,提供直截了当的解决方案。在所有问题的实现中遵循统一的方法。
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
欢迎贡献代码,但请遵循贡献指南,因为我希望保持数据结构和算法实现风格的一致性。上一次,很多人向我提交拉取请求(Pull Requests)、问题(Issues)和邮件,坚持要求我合并他们的修改。
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!
在我本科期间,开源社区在我的面试准备和学习中给了我巨大的帮助。我一直想为社区做些回报。为了践行回馈社区的承诺,我将在这个代码库中上传用 Python 实现的数据结构与算法问题。欢迎联系我并贡献力量!
As of now, the repository contains 3 main directories: Bookmarks, Data Structures and Algorithms.
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
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.
| Category | Link |
|---|---|
| Articles | Click Here |
| Books | Click Here |
| Topics | Click Here |
| Tutorials | Click Here |
| Videos | Click Here |
| Misc. | Click Here |
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.
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