GithubHelp home page GithubHelp logo

simonforyou / leetcode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from soulmachine/leetcode

0.0 0.0 0.0 39.49 MB

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

License: BSD 3-Clause "New" or "Revised" License

TeX 100.00%

leetcode's Introduction

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求职指导、算法指导、前后端项目、简历代笔等服务。

leetcode's People

Contributors

soulmachine avatar advancedxy avatar jasongithub avatar hex108 avatar idear1203 avatar lxieyang avatar liuluheng avatar liemail avatar pan-long avatar run avatar mapx avatar cpolaris avatar gaodayue avatar itsliupeng avatar wenruimeng avatar windpls avatar x1957 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.