Study worked solutions to classic Sword for Offer interview problems in your choice of Python, Java, or C++.
Follow a structured four-step LeetCode study plan progressing from the curated 88-question set up to the Top 100.
Read problem analysis notes alongside solution code to understand reasoning, not just memorize answers.
Prepare for technical programming interviews at Chinese tech companies using a proven learning path.
Chinese-language README, the code files are readable without any installation.
LeetCode-Book is a Chinese-language collection of algorithm and data structure solutions aimed at programming interview preparation. It provides worked solutions in Python, Java, and C++ for three separate problem sets: the classic Sword for Offer interview question book (a widely used reference in China), a curated selection of 88 high-frequency interview problems assembled by the repository author, and the problems from the Illustration of Algorithms and Data Structures LeetBook published on LeetCode-CN. The repository is organized into three folders: sword_for_offer for the Sword for Offer problems, selected_coding_interview for the 88-question curated set, and leetbook_ioa for the illustrated algorithm book. All three contain problem analysis notes alongside the solution code. The README is written in Chinese and recommends a learning path. The author suggests reading the Hello Algo book first (a separate beginner-friendly animated introduction to data structures and algorithms, also by this author and available as a separate GitHub project) before working through interview problems. It then points to four LeetCode study plans to follow in order, including the curated 88-question set, the top 100 liked problems, the classic interview 150, and a 75-question core set. For beginners, the README offers advice: solve two to three problems per day, prioritize genuine understanding over volume, follow the list order, and expect to revisit the same material several times before it fully settles. The repository is licensed under CC BY-NC-SA 4.0, which allows sharing and adapting the content for non-commercial purposes with attribution. At the time of the badges shown in the README, 75 of the included solutions had been accepted by the LeetCode judge.
← krahets on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.