Leanpub Header

Skip to main content

Filters

Category: "Algorithm"

Algorithm

  1. Mastering CatBoost: The Hidden Gem of Tabular AI
    Mastering CatBoost: The Hidden Gem of Tabular AI
    Harness the Power of CatBoost for Tabular Data and Beyond
    Valery Manokhin

    Unlock the full potential of CatBoost — a powerful gradient boosting library built for structured/tabular data and still underused in practice.In Mastering CatBoost: The Hidden Gem of Tabular AI, you’ll learn how to take advantage of CatBoost’s key strengths: native categorical feature handlingstrong accuracy, and fast inference — without brittle preprocessing pipelines.Written for data scientists, ML engineers, and applied researchers, the book covers:Real-world use cases and end-to-end workflowsPractical tuning strategies and diagnosticsInterpretability with SHAP, feature importance, and constraintsDeployment-minded best practices and common failure modesWhether you’re new to CatBoost or ready to go deeper, this is a clear, practical guide to building high-performance tabular models.Early Access is available now, with ongoing updates leading to the full release in 2026.

  2. Rust for Linux Programming
    Rust for Linux Programming
    Build kernel modules, drivers, file systems, networking, and memory using Rust's ownership, traits, and RAII
    GitforGits | Asian Publishing House

    I wrote this book to show exactly what happens when you add Rust to the kernel. Not as a toy. Not as a single driver in a conference demo. It's a full module that covers process management, memory allocation, file systems, networking, device drivers, inter-process communication, and even machine learning inference. It's all built on safe abstractions, all compiled into one loadable binary, all tested on a running kernel. You'll find that each chapter adds new source files to the same module.

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

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

  5. Building Database Engines from Scratch
    Building Database Engines from Scratch
    A Hands-On Guide to Storage, Concurrency, Query Processing, and Reliability in Systems Programming
    Steve Publications

    What really happens between typing a SQL query and getting a result? Build a database engine from the ground up in Rust and find out. You’ll work through storage, indexing, concurrency, recovery and query processing while turning each chapter’s code into one working system.

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

  8. Vector Search from First Principles
    Vector Search from First Principles
    SIMD, Quantization, and Billion-Scale Retrieval
    Steve Publications

    Most vector search books start with the database. This one starts with the machine. Build a search engine from scratch, then push it from brute force to billion-scale retrieval with SIMD, HNSW, quantization and distributed systems. By the end, vector search won't be a black box. It'll be something you know how to build, tune and scale.

  9. 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 blank project to a working Transformer that loads a real model and generates text. Forged one challenge at a time, with tests that prove every piece works before you move on.

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

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

  12. Learn Programming with FlowRun
    Learn Programming with FlowRun
    A visual introduction into the world of programming
    Sakib Hadžiavdić

    Learn the basics of programming with runnable flowcharts!Develop a groundwork for your next programming language, be that Python, Java, C# or any other.Try interactive examples in a matter of seconds!

  13. Building High-Performance Compression Systems
    Building High-Performance Compression Systems
    bzip3 and Beyond
    Steve Publications

    What really makes a compression system fast, efficient and effective? Using bzip3 as a practical case study, this book breaks down the building blocks behind modern compression, from data transforms and match finding to entropy coding and parallel processing. Learn how to design, implement and tune compression systems for real-world performance.

  14. Logic2Code: 100 Original Programming Challenges
    Logic2Code: 100 Original Programming Challenges
    Inspired by Mathematics and Computational Thinking
    Nadeem Iqbal

    Challenge your programming skills with 100 original problems inspired by mathematics, computational thinking, and algorithmic reasoning. Designed to be programming-language independent, Logic2Code helps students and self-learners strengthen logic, creativity, and problem-solving ability through progressively engaging challenges.

  15. Building Anti-Scraping Infrastructure for Modern Websites
    Building Anti-Scraping Infrastructure for Modern Websites
    A Complete Guide to Designing, Implementing, and Operating Bot Defense Systems at Scale
    Steve Publications

    Scraping is getting harder to control as bots become more sophisticated. This practical guide shows security engineers, SREs and platform architects how to build anti-scraping defenses that work at scale, from traffic analysis and behavioral detection to rate limiting, challenges, observability and continuous adaptation.