• Stars
    star
    11,033
  • Rank 3,059 (Top 0.07 %)
  • Language
    TeX
  • License
    BSD 3-Clause "New...
  • Created about 11 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

LeetCode题解,151道题完整版。广告:推荐刷题网站 https://www.lintcode.com/?utm_source=soulmachine

LeetCode题解

在线阅读

https://algorithm-essentials.soulmachine.me/

PDF下载

LeetCode题解(C++版).pdf

C++ 文件夹下是C++版,内容一模一样,代码是用C++写的。

Java 文件夹下是Java版,目前正在编写中,由于拖延症,不知道猴年马月能完成。

如何编译PDF

命令行编译

docker run -it --rm -v $(pwd)/C++:/project -w /project soulmachine/texlive xelatex -interaction=nonstopmode leetcode-cpp.tex

vscode下编译

本项目已经配置好了vscode devcontainer, 可以在 Windows, Linux 和 macOS 三大平台上编译。

用 vscode 打开本项目,选择右下角弹出的 "Reopen in Container",就会在容器中打开本项目,该容器安装了 Tex Live 2022 以及所需要的10个字体。

点击vscode左下角的齿轮图标,选择 Command Palette,输入tasks, 选择 Run Task, 选择 leetcode-C++,即可启动编译。

LaTeX模板

本书使用的是陈硕开源的模板。这个模板制作精良,感谢陈硕 :)

这个LaTex模板总共使用了10个字体,下载地址 https://pan.baidu.com/s/1eRFJXnW 。有的字体Windows自带了,有的字体Ubuntu自带了,但都不全,还是一次性安装完所有字体比较方便。

也可以参考 Dockerfile 去学习如何安装所有字体。

贡献代码

欢迎给本书添加内容或纠正错误,在自己本地编译成PDF,预览没问题后,就可以发pull request过来了。

广告

九章算法,由北大、清华校友于美国硅谷创办,已帮助数十万IT程序员找到高薪offer! 提供1对1求职指导、算法指导、前后端项目、简历代笔等服务。

More Repositories

1

machine-learning-cheat-sheet

Classical equations and diagrams in machine learning
TeX
5,853
star
2

acm-cheat-sheet

Acm Cheat Sheet
TeX
1,691
star
3

system-design

系统设计面试题精选
1,289
star
4

algorithm-essentials

算法精粹--举一反三,抛弃题海战术
JavaScript
775
star
5

search-engine-principle

搜索引擎原理详解,开源电子书
202
star
6

nextjs-starter-kit

A Next.js + Antd + MobX + Typescript starter kit
JavaScript
106
star
7

crypto-notebooks

Jupyter notebooks for analyzing crypto data
Jupyter Notebook
96
star
8

hackerrank

HackerRank题解
31
star
9

vue-tutorial

Learn Vue.js step by step 一步一步学习Vue.js
JavaScript
31
star
10

awesome-blockchain-whitepapers

Awesome blockchain white papers
HTML
30
star
11

docker-images

My daily used docker images
Dockerfile
25
star
12

scala-cheat-sheet

Scala cheat sheet
TeX
23
star
13

react-starter-kits

Build a react starter kit step by step
JavaScript
17
star
14

spark-example-project

A Spark WordCount example as a standalone SBT project
Scala
16
star
15

weixinqunzhushou

微信群助手机器人
Python
15
star
16

coin-wallets

One library to manage all cryptocurrencies.
TypeScript
12
star
17

ubuntu-provision

Ubuntu 一键装机
Vim Script
11
star
18

ts-cli-starter

TypeScript CLI project template.
Dockerfile
10
star
19

meteor-tutorial

Meteor+React+Antd tutorial step by step
JavaScript
10
star
20

awesome-deep-trading

Papers of deep learning for trading
9
star
21

JythonExample

A simple Jython example to execute Python scripts from Java
Java
8
star
22

effective-spark

7
star
23

cn-blog

我的中文技术博客
CSS
6
star
24

delimited-protobuf

A read/write library for length-delimited protobuf messages
Python
4
star
25

virtual-machines

My daily virtual machine images
Shell
4
star
26

stock-crawler

Crawl US stocks daily OHLCV data
Jupyter Notebook
4
star
27

with-react-intl

Rewrite with-react-intl/ in Typescript
TypeScript
3
star
28

soulmachine.github.io

My tech blog
HTML
3
star
29

GasPrice

Retrieve ETH gas price from gasnow.org per 15s.
Python
3
star
30

machinelearning

some code snippets about machinelearning
Java
3
star
31

algorithms

some algorithm code snippets
JavaScript
3
star
32

subredditstats

Scrape subredditstats.com everyday.
Python
3
star
33

algorithm-essentials-java

3
star
34

eos-endpoint

Retrieve a list of valid EOS API endpoints
TypeScript
2
star
35

weibo-friends

A toy spark program
Scala
2
star
36

eidos-miner

EIDOS miner, 1000 times faster than your phone
JavaScript
2
star
37

MNIST

Python
2
star
38

soulmachine

Automatically exported from code.google.com/p/soulmachine
C
2
star
39

crowdcrawler

Crawling Data with Crowdsourcing
2
star
40

crypto-crawler-workflow

Crawl websocket data from cryptocurrency exchanges using Sogou workflow
2
star
41

JRubyExample

A simple JRuby example to execute Ruby scripts from Java
Java
1
star
42

JparsecExample

A Jparsec calculator example
Java
1
star
43

coin-kline

Get real-time Kline data from cryptocurrency exchanges.
JavaScript
1
star
44

ts-node-starter

Typescript CLI project based on ts-node
TypeScript
1
star
45

projecteuler

ProjectEuler题解
1
star
46

DevOps

我的Linux开发环境和工具
1
star
47

node-cli-starter

Node.js CLI project template
Dockerfile
1
star
48

vue-demos

a collection of simple demos of Vue.js
HTML
1
star
49

coinmarketcap-node

A complete Node.js library for CoinmarketCap.
TypeScript
1
star
50

nas-papers-comparison

NAS Papers Comparison
1
star
51

crypto-notebooks1

Jupyter notebooks for analyzing crypto data
Jupyter Notebook
1
star
52

crypto-subreddit

Get number of subscribers for cryptocurrency subreddits
Python
1
star
53

okex-withdrawal-fee

Get OKEx withdrawal fees of all currencies.
TypeScript
1
star
54

alien-invasion-simulator

Go
1
star
55

crypto-orderbook

In-memory level2 order book.
Rust
1
star
56

scalding-example-project

A Scalding WordCountJob example as a standalone SBT project with ScalaTest tests
Scala
1
star
57

domain-crawler

A domain crawler that crawls whois information of domains
Python
1
star