leetcode (soulmachine/leetcode)
Searching Database…
What is this?
A free book of fully worked LeetCode solutions covering 151 problems, written and typeset in LaTeX with C++ code (a Java edition is also in progress).
Is this a code library or a book I read as a PDF?
It's a LaTeX book project: the content compiles into a PDF, and the solution code (in the C++ folder) is meant to be read alongside the explanations, not imported as a library.
What do I need installed to compile it?
You need a LaTeX distribution (the devcontainer uses TeX Live 2022) plus the 10 specific fonts the book's template requires; the Dockerfile shows exactly how to install them all.
Is the Java version of the solutions finished?
No — only the C++ edition is complete; the Java folder is still being written, and the author jokingly admits procrastination means there's no ETA for it.
Who is this book aimed at?
Programmers preparing for coding interviews who want full LeetCode problem write-ups with working C++ solutions rather than just answer keys.
What LaTeX template does the book use?
It uses an open-source LaTeX template created by Chen Shuo (陈硕), which the author credits as well-crafted.
How many problems are covered in the finished C++ edition?
All 151 LeetCode problems have complete C++ solutions and write-ups.
Do I need to find the 10 template fonts myself?
Not if you use the devcontainer, which already has them installed; otherwise you'd need to download and install all 10 fonts referenced in the README (or follow the Dockerfile as a guide).
What are similar projects?
hello-algorithm, leetcode, leetcode, apachecn-algo-zh, hello-algo, algorithm-base, The-Art-Of-Programming-By-July-2nd, fucking-algorithm
Which topics is it in?
competitive-programming, tex, coding-interview, leetcode, latex, study-guide, ebook, data-structures, interview-preparation, algorithms, programming, book