"Illustrated Algorithm Data Structure" is a LeetBook manual written for algorithm beginners and Internet job seekers.
- 75 questions are explained in detail with pictures and texts, covering the main algorithm knowledge points.
- The questions are actively used in the recruitment of major Internet companies, which can make written interview preparation more effective.
- Committed to writing in simple terms, combining pictures and texts, and providing concise problem-solving codes in Python, Java, and C++.
Note
This warehouse contains the solutions to "Graphic Algorithm Data Structure", "88 Selected Questions from Krahets' Written Interview" and "Sword Pointer Offer":
LeetCode - Book
├── leetbook_ioa # 《图解算法数据结构》题解和专栏文档
├── selected_coding_interview # 《Krahets 笔面试精选 88 题》题解文档
└── sword_for_offer # 《剑指 Offer》题解文档、代码、刷题计划
If this warehouse is helpful to you, please click a Star in the upper right corner of the page to support it, thank you!
How to learn algorithms
Step one: read the introductory book
"Hello Algorithm" - animated illustrations, one-click data structure and algorithm tutorials
This book aims to guide beginners to explore the knowledge map of data structures and algorithms, and master the prerequisite knowledge and tool library needed to answer questions.
Tip
It is recommended to read this book first (to gain a general and comprehensive understanding of data structures and algorithms) before starting to answer questions (to explore various algorithms and data structures in depth).
Step Two: Brush Algorithm Questions
The following LeetCode question sheets are recommended:
- 88 questions selected from Krahets written interview: 88 high-frequency algorithm written test questions selected from "Sword Pointer Offer" and "Hot Questions 100", suitable for beginners to get started.
- Graphical Algorithm Data Structure (Interview-75): The questions are closer to practical applications and are more difficult than the "Sword Pointer Offer".
- LeetCode Hot Questions 100: The 100 most popular questions from users.
- 150 classic interview questions: 150 classic interview questions.
- LeetCode-75: Selected 75 core interview questions.
Tip
The question categories of items 1.
2.
correspond to the chapter contents of "Hello Algorithm", and the solutions written by @krahets are provided, which are suitable as supporting exercises.
Some suggestions for beginners to study questions:
- It is recommended to answer 2 to 3 questions every day. If you can complete it easily, you can try increasing the number to 5 to 8 questions.
- The quality of the questions is more important than the quantity. Please make sure you truly understand the solution to each question and the algorithm principles behind it.
- It is recommended that you answer the questions in the order listed in the question sheet. If you feel that a question is difficult, you can skip it first and solve it later.
- Questions usually have more than one solution. Please pay attention to compare and explore the characteristics and applicability of various methods.
- If you find that you have forgotten the solution to a question, don't be discouraged; we usually need to review it more than three times before we can truly master a knowledge point.
- Those who travel a hundred miles are half ninety. Persistence is crucial, come on!
License
The texts, code, and images in this repository are licensed under CC BY-NC-SA-4.0.