Git Product home page Git Product logo

leetcode's Introduction

#LeetCode题解

##PDF下载 LeetCode题解(C++版).pdf

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

Java 文件夹下是Java版,内容一摸一样,代码是用Java写的

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

##在Windows下编译

  1. 安装Tex Live 2012 http://www.tug.org/texlive/。把bin目录例如D:\texlive\2012\bin\win32加入PATH环境变量。

  2. 安装TeXstudio http://texstudio.sourceforge.net/

  3. (可选)启动Tex Live Manager,更新所有已安装的软件包。

  4. 安装字体。在Windows下,这个LaTex模板额外使用了5个字体,下载地址 http://weibo.com/1663402687/zrSNhgTGK

  5. 配置TeXstudio。

    启动Texstudio,选择 Options-->Configure Texstudio-->Commands,XeLaTex 设置为 xelatex -synctex=1 -interaction=nonstopmode %.tex

    选择 Options-->Configure Texstudio-->Build

    Build & View 由默认的 PDF Chain 改为 Compile & View;

    Default Compiler 由默认的PdfLaTex 修改为 XeLaTex ;

    PDF Viewer 改为 “Internal PDF Viewer(windowed)”,这样预览时会弹出一个独立的窗口,这样比较方便。

  6. 编译。用TeXstudio打开leetcode.tex,点击界面上的绿色箭头就可以开始编译了。

    在下方的窗口可以看到TeXstudio正在使用的编译命令是xelatex -synctex=1 -interaction=nonstopmode "leetcode".tex

##如何贡献代码 编译通过后,就具备了完整的LaTeX编译环境了。

本书模板已经写好了,基本上不需要很多LaTeX知识就可以动手了。

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

##北美求职微博群 我和我的小伙伴们在这里:http://q.weibo.com/1312378

leetcode's People

Contributors

soulmachine avatar hex108 avatar

Stargazers

gh0stman avatar

Watchers

James Cloos avatar KOO avatar

Forkers

tiger2soft

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.