Leanpub Header

Skip to main content

Filters

Category: "Algorithm"

Algorithm

  1. GPU Programming using Rust and CUDA
    GPU Programming using Rust and CUDA
    Exploring Rust’s potential in GPU and parallel computing using Rust-CUDA, cuda-oxide, and RustaCUDA
    GitforGits | Asian Publishing House

    We'll be writing kernels in Rust and seeing how they match up with their C++ equivalents. If you feed a GPU properly, you'll see bandwidth quadruple from just one changed subscript. It'll get you working with thousands of threads, pricing a financial option based on an exact formula, and shipping an inference pipeline that outruns its Python equivalent for reasons you can name.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. C++ Under Pressure: A Complete Interview Guide from 1,000+ Interviews
    C++ Under Pressure: A Complete Interview Guide from 1,000+ Interviews
    Written by the interviewer , not the candidate
    Ahmed

    After 1,000+ interviews, I kept seeing the same gaps: engineers who use shared_ptr daily but can't explain the control block; developers who write multithreaded code without understanding the memory model they're relying on. This book is the resource I wished existed. Free preview includes Chapter 3: OOP & Polymorphism — the chapter that eliminates more candidates than any other.

  7. Strings - Beginner → Intermediate → Advanced - C# Edition
    Strings - Beginner → Intermediate → Advanced - C# Edition
    Data Structures & Algorithms for AI-Era Interviews
    Flannan P. Brody

    This book teaches string and data structure algorithms the way engineers actually reason through them: one character, one pointer, one decision at a time. Every pattern inside is shown three ways — a plain-language explanation of what it does and why, a real working C# implementation you can compile and run yourself, and a full pictorial walkthrough that traces the index, the window, the stack, and the trie through every step.

  8. The Modern C++ and STL Interview Compendium
    The Modern C++ and STL Interview Compendium
    Interview Questions and Answers for Modern C++ Developers
    Yohan J. Rodríguez

    A practical interview reference covering Modern C++ language features, STL usage, concurrency, and performance (553 manuscript pages).

  9. 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.

  10. 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++.

  11. Intelligent Markets
    Intelligent Markets
    Building AI-Driven Algorithmic Trading Systems from First Principles to Production
    Steve Publications

    Artificial intelligence is reshaping financial markets. Intelligent Markets shows you how to build production-ready AI trading systems from first principles, combining market fundamentals, practical architecture, and fully runnable code to create autonomous agents that can research, execute, and manage trades in live markets.

  12. Logic-First Coder
    Logic-First Coder
    Mastering Algorithmic Thinking, Problem Solving, and Clean Code Architecture
    Alex R. Insight

    Stop being a syntax typist. Master Clean Code Architecture and Algorithmic Thinking to become a professional Software Architect in 2026. This blueprint teaches you to build Scalable Systems using Binary Logic, Big O Notation, and proven Software Engineering Patterns. Perfect for the modern Backend Developer, self-taught coder, and Tech Entrepreneur looking to design high-performance software from scratch.

  13. 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.

  14. 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.

  15. Physics-Informed Machine Learning A Practical Guide: Stage 1 Foundations & Your First PINN

    A practical, code-first guide to physics-informed machine learning for scientists and engineers. You'll build a working Physics-Informed Neural Network from scratch in PyTorch, solve a real differential equation, and verify it against the exact solution — staying honest about both the power and the limits of the method.