Leanpub Header

Skip to main content

Filters

Category: "Algorithm"

Algorithm

  1. Build an LLM Inference Engine in C++
    Build an LLM Inference Engine in C++
    A Challenge-Driven Guide to Building a CPU-First Inference Engine in C++20
    Hatem M.

    Build a complete LLM inference engine in C++ — from a blankproject to a working Transformer that loads a real model andgenerates text. Forged one challenge at a time, with teststhat prove every piece works before you move on.

  2. Programming Ideas

    Programming Ideas is an extensive collection of fun and fascinating programming projects for intermediate to advanced programmers. It closes the gap between introductory programming books and computer science textbooks by showing you how to solve a wide range of practical problems, from drawing fractals to compressing files and computing Pi, and carefully explains both the required algorithms and techniques as well as the resulting programs.

  3. Lean 4: Programming, Proof, and Formal Verification
    Lean 4: Programming, Proof, and Formal Verification
    A Deep Guide to Functional Programming and Interactive Theorem Proving
    Steve Publications

    Go beyond the basics of Lean 4. This practical deep dive explores functional programming, dependent types, theorem proving and formal verification. Learn how Lean works under the hood, build reliable proofs and automation, and tackle larger formal projects with confidence.

  4. The Art of Concurrent Programming
    The Art of Concurrent Programming
    Locks, Atomics, Lock-Free Systems and High-Performance Concurrent Software
    Steve Publications

    Concurrency is where small mistakes become serious problems. This practical guide takes you from hardware and memory models to locks, atomics and lock-free algorithms, with a focus on building fast, reliable systems that hold up under real production workloads.

  5. Mobile Coding Interviews Using Kotlin/Swift
    Mobile Coding Interviews Using Kotlin/Swift
    Pattern-Based Problem Solving in Swift & Kotlin
    Mahmoud Ramadan

    Crack mobile coding interviews by mastering patterns instead of memorization. This book teaches you how to quickly recognize interview problems and solve them confidently using reusable Swift and Kotlin templates, exactly the way top iOS and Android candidates do. If you want to think clearly, code fast, and explain your solutions under pressure—this book is for you.

  6. Super Study Guide: Algorithms & Data Structures
    Super Study Guide: Algorithms & Data Structures
    Afshine Amidi and Shervine Amidi

    A concise, illustrated guide to algorithms and data structures, perfect for coding interviews, classes, or self-study. Covers key concepts, from fundamentals to graphs, trees, sorting, and search techniques.

  7. Machine Learning with Rust
    Machine Learning with Rust
    A practical attempt to explore Rust and its libraries across popular machine learning techniques
    GitforGits | Asian Publishing House

    This book is meant to discover how the language Rust, which is known for being fast and safe, can work with the constantly changing field of machine learning, neural networks and deep learning. The datasets of COVID, CIFAR-10 and practical examples are meant to show how Rust's features can be used to solve problems that come up in machine learning.

  8. The C++ STL Handbook
    The C++ STL Handbook
    Containers, Algorithms, Iterators, Ranges, and Beyond
    Steve Publications

    Go beyond C++ syntax and learn to use the STL with confidence. Explore containers, algorithms, iterators, ranges and more through practical examples, performance insights and real-world patterns. Build a deeper understanding of how the STL works, when to use each tool and how to write cleaner, faster and more maintainable C++.

  9. Python Under Pressure
    Python Under Pressure
    A Complete Interview Guide — written from the interviewer's side of the table.
    Ahmed

    The Python interview guide written from the interviewer's side of the table. 35 chapters. Every benchmark measured. Every line of code verified. What senior engineers actually get asked — and what separates the ones who get the offer.

  10. Building Programming Languages with Rust
    Building Programming Languages with Rust
    From Lexers to LLVM: A Complete Guide to Language Implementation
    Steve Publications

    Learn how to build a modern programming language from scratch in Rust. By implementing a complete language called Rune, you will explore every stage of language design, from lexing and parsing to type checking, virtual machines, LLVM code generation, and developer tooling, with practical code and clear explanations throughout.

  11. Modern C++ Memory Safety
    Modern C++ Memory Safety
    Safer Systems Software Without a Full Rewrite
    Steve Publications

    Modern C++ Memory Safety shows you how to make existing C++ systems safer without starting over. Learn practical ways to find and fix memory safety issues using modern C++, compiler tools, sanitizers, static analysis and fuzzing, with techniques you can apply directly to real production code.

  12. Local First Software Development
    Local First Software Development
    Building Software That Works Without the Cloud
    Steve Publications

    What if your software did not need the cloud to work? Local First Software Development shows you how to build fast, reliable apps that work offline and sync when needed. Learn practical patterns for data, security and synchronization while exploring how local-first systems can grow from simple personal tools into large collaborative applications.

  13. C++ Algorithmic Mastery: 1000 Challenges from Beginner to Legendary
    C++ Algorithmic Mastery: 1000 Challenges from Beginner to Legendary
    Solved and Tested — A Complete 8-Volume Journey from Beginner to Advanced Algorithms
    Hatem M.

    1000 carefully designed C++ problems across 8 progressive volumes — from your very first line of code to advanced algorithms. Every single solution is compiled and tested on g++, with hints, complexity analysis, and a clear explanation for each. A complete, structured path from beginner to mastery.

  14. TLDR: Data Structures and Algorithms
    TLDR: Data Structures and Algorithms
    From Knowing Python to Cracking Leetcode Patterns
    John G

    A book designed to help you transition from merely knowing Python to cracking Leetcode patterns. This book explains core DSA concepts through clear, intuitive analogies and walks you through the most important Leetcode patterns. If you're aiming to ace your next coding interview, this is the book I wish I had when I started.

  15. Traffic Domination Blueprint: Skyrocket Your Website Traffic & Rule Google’s First Page
    Traffic Domination Blueprint: Skyrocket Your Website Traffic & Rule Google’s First Page
    Proven Strategies to Skyrocket Website Traffic, Dominate Google Rankings, and Build Lasting Online Authority
    Elite Readers

    Unlock the secrets to skyrocketing website traffic, mastering SEO, and dominating Google’s first page with practical strategies, expert insights, and long-term growth techniques.