explaingit

julycoding/the-art-of-programming-by-july-2nd

Analysis updated 2026-05-18

21,517CAudience · developerComplexity · 2/5Setup · easy

TLDR

Open-source Chinese programming book covering interview prep and algorithms with detailed explanations, code samples in C, and community translations.

Mindmap

mindmap
  root((repo))
    What it does
      Algorithm explanations
      Interview prep
      Code walkthroughs
    Topics covered
      Data structures
      Dynamic programming
      String processing
      Machine learning
    Tech stack
      C language
      C++ sections
      Java examples
      Python examples
    Audience
      Job interview prep
      Algorithm students
      Software engineers
    Content format
      Chinese explanations
      English translation
      Code samples
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Prepare for technical interviews at major tech companies by studying detailed algorithm walkthroughs and solutions.

USE CASE 2

Learn data structures and algorithms through step-by-step explanations covering reasoning and optimization tradeoffs.

USE CASE 3

Study classic programming problems with working code examples in C and other languages.

What is it built with?

CC++JavaPython

How does it compare?

julycoding/the-art-of-programming-by-july-2nddarkflippers/unleashed-firmwaregentilkiwi/mimikatz
Stars21,51721,51721,522
LanguageCCC
Setup difficultyeasyhardhard
Complexity2/54/54/5
Audiencedeveloperdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
License could not be detected automatically. Check the repository's LICENSE file before use.

In plain English

The Art of Programming By July is a Chinese-language collection of programming interview problems with detailed write-ups, eventually turned into a published book titled Bian Cheng Zhi Fa: Mian Shi He Suan Fa Xin De. It started in October 2010 when the author, July, began organising a "Microsoft 100 interview questions" series on his blog. Over time he picked the most representative questions, expanded each into its own chapter, and reworked them across many rounds of feedback from readers, contributors, and reviewers. Rather than being a software library you install, the repository is a curated set of articles, code examples, and book chapters. Each chapter takes a single problem, such as a tree, string, array, search, dynamic programming, or large-data-processing question, and walks through it in depth: explanation, diagrams, formulas, and code. The README also notes a planned second edition that rewrites about a third of the content, adds around twenty newer interview questions selected from 2021 to 2023, and brings in some machine learning topics such as xgboost, CNN, RNN, and LSTM. You would use this if you are preparing for programming interviews and want long-form explanations and worked code instead of just answer snippets. Most code is written in C, with some C++ and contributed translations into other languages. The repository's primary language is C.

Copy-paste prompts

Prompt 1
Show me how to solve the tree traversal problem from the-art-of-programming repo, explaining the approach step by step.
Prompt 2
I'm preparing for a tech interview. Walk me through a dynamic programming problem from this repo and explain the optimization.
Prompt 3
Translate this C code example from the-art-of-programming into Python and explain what it does.
Prompt 4
What are the key data structure problems covered in the-art-of-programming and how do I approach them?

Frequently asked questions

What is the-art-of-programming-by-july-2nd?

Open-source Chinese programming book covering interview prep and algorithms with detailed explanations, code samples in C, and community translations.

What language is the-art-of-programming-by-july-2nd written in?

Mainly C. The stack also includes C, C++, Java.

What license does the-art-of-programming-by-july-2nd use?

License could not be detected automatically. Check the repository's LICENSE file before use.

How hard is the-art-of-programming-by-july-2nd to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is the-art-of-programming-by-july-2nd for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub julycoding on gitmyhub

Verify against the repo before relying on details.