Leanpub Header

Skip to main content

Filters

Category: "Algorithm"

Algorithm

New to Computer Science? Read the Computer Science article

  1. Learn Java Data Structures & Algorithms Visually - Volume 1
    Learn Java Data Structures & Algorithms Visually - Volume 1
    Trees, Linked Lists, Strings & Arrays for AI-Era Interviews
    Flannan P. Brody

    Plain-language explanations, Java implementations, and step-by-step visual walkthroughs help you connect the problem, the code, and the changing state of the data. Every algorithm is printed in full color, so rows, columns, regions, and changing values stand apart at a glance and are easy to trace. 

  2. Modern Compiler Engineering: From Source Code to Machine Code
    Modern Compiler Engineering: From Source Code to Machine Code
    Designing and Implementing a Production Compiler with Rust
    Steve Publications

    Build a real compiler from the ground up with Rust. Follow the journey from source code to native x86-64 machine code as you design Lumina, explore optimization and register allocation and tackle the practical challenges that come with building a production-quality compiler.

  3. Artificial    Intelligence    Algorithms   and  Applications Unveiled

    Discover the algorithms behind intelligent machines.Artificial Intelligence: Algorithms and Applications Unveiled takes readers from the fundamental concepts of AI to the algorithms and applications shaping modern technology. Explore machine learning, neural networks, deep learning, natural language processing, computer vision, robotics, healthcare, finance, business intelligence, and more.Designed to connect theory with practical understanding, the book explains how AI algorithms work, where they can be applied, and what challenges must be considered when building intelligent systems.From learning algorithms to responsible AI, this book provides a structured pathway for students, developers, researchers, educators, and technology professionals who want to understand the rapidly evolving world of Artificial Intelligence.Learn the algorithms. Understand the applications. Think intelligently about AI.

  4. The New Generation of Programming Languages
    The New Generation of Programming Languages
    Vale, Valen, Bend, Revo, and the Future of Systems Programming
    Steve Publications

    Programming languages are entering a new era. This book explores Vale, Valen, Bend and Revo, showing how they approach memory safety, concurrency, type systems and verification. With runnable examples and clear technical analysis, it offers experienced programmers a grounded look at where systems programming may be headed.

  5. AI-Driven Database Query Optimization
    AI-Driven Database Query Optimization
    From Cost Models to Neural Optimizers — A Practical Engineering Guide
    Steve Publications

    What happens when AI starts making the decisions behind your database queries? This practical guide explores how modern optimizers work, then shows how machine learning and reinforcement learning can improve them. Learn to build, test and deploy AI-driven optimization systems that deliver real performance gains.

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

  7. The Problem Before the Algorithm
    The Problem Before the Algorithm
    Reading, Deriving, and Organising — A Complete Method for Solving Problems You Have Never Seen, from a Single Loop to a Whole System
    Hatem M.

    Most algorithm books are catalogues: here is a technique, here is its proof, here are exercises. This one withholds the name of every technique until after you have built it — and then shows you how to organize a problem that is too long for any one technique.

  8. The AI Forensics Handbook
    The AI Forensics Handbook
    Detection and Analysis of Artificially Generated Text, Images, Video, and Audio
    Steve Publications

    AI-generated content is everywhere, but how do you know what is real? The AI Forensics Handbook explores the science behind detecting synthetic text, images, video and audio, revealing the signals AI leaves behind and the methods used to uncover them. Practical, rigorous and grounded in real-world limitations, this is a guide to understanding what detection can really prove.

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

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

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

  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. Advanced Automation: 50-Chapter Master Script Package

    An Engineering Reference for Resilient, Scalable, and Autonomous Enterprise InfrastructureEnterprise automation is no longer limited to scheduled scripts and isolated administrative tasks. Reliable infrastructure requires coordinated systems that can detect failures, manage changing state, enforce security policies, and recover from operational problems with minimal manual intervention. Advanced Automation: 50-Chapter Master Script Package is a 50-chapter technical reference for DevOps engineers, Site Reliability Engineers (SREs), cloud architects, and platform engineers.

  14. The Local AI Stack: Building a Sovereign Machine Learning Workstation with Hyper-V, WSL2, and GPU Virtualization

    Cloud GPU rental costs more than compute time. It can also introduce recurring expenses, external dependencies, and additional questions about where your prompts, datasets, and model artifacts are processed. A local machine learning workstation gives you direct control over the hardware, software stack, and data workflows. The Local AI Stack is a technical engineering reference for building a Windows-based machine learning workstation with Linux environments, NVIDIA GPU acceleration, and virtualization. Across 140 pages, it follows the stack from firmware configuration and Windows virtualization features to CUDA-enabled containers, model inference, storage optimization, and system recovery.

  15. Prolog Programming: From Fundamentals to Advanced Logic Programming
    Prolog Programming: From Fundamentals to Advanced Logic Programming
    A comprehensive guide to logic programming with SWI-Prolog
    Steve Publications

    Discover the power of thinking in logic. This hands-on guide takes you from your first Prolog query to advanced techniques in constraints, grammars, AI search, meta-programming and production development. With clear explanations and executable SWI-Prolog examples, you’ll learn not just how Prolog works, but how to use it well.