explaingit

apachecn/apachecn-algo-zh

11,141JavaScriptAudience · developerComplexity · 1/5LicenseSetup · easy

TLDR

A Chinese-language collection of translated algorithm books and LeetCode solutions covering data structures and interview problems in C++, Java, JavaScript, and Python.

Mindmap

mindmap
  root((repo))
    What it does
      Algorithm books in Chinese
      LeetCode solutions
      Interview prep
    Tech stack
      JavaScript
      Python
      Java
      C++
    Use cases
      Browse online
      Install via Docker
      Install via npm
    Audience
      Chinese developers
      Interview candidates
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

Things people build with this

USE CASE 1

Work through LeetCode problems using reference solutions in C++, Java, JavaScript, or Python.

USE CASE 2

Study data structures and algorithms using the Chinese translation of Think Data Structures.

USE CASE 3

Prepare for Chinese software engineering interviews using Jian Zhi Offer solutions.

Tech stack

JavaScriptPythonJavaC++DockerNode.js

Getting it running

Difficulty · easy Time to first run · 5min
Free to share and adapt for non-commercial purposes only, with credit given and the same license applied to any adaptations.

In plain English

This repository is a Chinese-language collection of translated books and solution guides focused on data structures and algorithms. It is maintained by ApacheCN, a volunteer community that translates programming and computer science resources into Chinese. The collection includes a Chinese translation of "Think Data Structures," plus LeetCode problem solutions written in C++, Java, JavaScript, and Python. There is also a set of solutions for the "Sword Refers to Offer" (Jian Zhi Offer) series in Java, which is a well-known Chinese interview preparation book. Readers can browse the content online through a dedicated website or a mirror hosted on Gitee, which is a Chinese alternative to GitHub. For those who want a local copy, the repository can be installed as a Docker image, a Python package via pip, or a Node.js package via npm. All three methods spin up a local web server so the documents are readable in a browser. The project uses a Creative Commons CC BY-NC-SA 4.0 license, which allows sharing and adaptation for non-commercial purposes as long as credit is given and the same license is applied. Contributors who help proofread or refine translations can receive small payments per thousand characters reviewed, and the project lists active proofreading tasks on its activity page.

Copy-paste prompts

Prompt 1
I'm preparing for Chinese software engineering interviews using apachecn-algo-zh. Help me understand the approach used in the Java solutions for Jian Zhi Offer problem 3 (finding duplicates in an array).
Prompt 2
I want to run the apachecn-algo-zh content locally. Walk me through installing it as a Docker image and browsing the translated algorithm book in my browser.
Prompt 3
Show me how to install the apachecn-algo-zh package via npm and start the local web server to read algorithm content offline.
Prompt 4
I'm studying dynamic programming from the apachecn-algo-zh LeetCode solutions. Explain the pattern used in the C++ solutions for common DP problems.
Open on GitHub → Explain another repo

← apachecn on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.