Leanpub Header

Skip to main content

Filters

Category: "Algorithm"

Algorithm

New to Computer Science? Read the Computer Science article

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

  2. Assembly Arithmetic Algorithms-DOS
    Assembly Arithmetic Algorithms-DOS
    16-bit DOS Edition
    Chastity White Rose

    Low level is a term that confuses people. People think something high level is better than low level. In simple terms, humans consider themselves superior to machines and therefore think themselves higher or more important because of their abstract though. A computer thinks only in terms of numbers. A computer may not understand "high level" abstractions such as love, religion, philosophy, etc, but that is not its job. A computer must add, subtract, multiply, and divide. These are the four arithmetic functions which many human struggle to do. I wrote this book because I think like a machine and I hope to help others think this way because it is the best way to learn programming and control your computer by writing Assembly Language programs or to go back to your favorite programming language with a greater understanding of why things work as they do.

  3. Mastering Taproot
    Mastering Taproot
    Unlocking Bitcoin’s Future: Taproot Script Engineering for Developers
    Aaron Zhang

    The first comprehensive guide to Taproot script engineering. Learn Bitcoin from the inside out — through real testnet transactions, stack execution, and Merkle trees. This book is evolving into an open, testnet-driven Taproot engineering lab.

  4. Algoritmalar ve İleri Problem Çözme

    10 teknik eğitim alanı, 14 ana bölüm ve kapsamlı uygulamalar tek kitapta! Algoritmik düşünmeden ileri problem çözmeye, veri yapılarından sistem tasarımına kadar Python örnekleri, laboratuvarlar ve çözümlü uygulamalarla mühendislik becerilerinizi geliştirin.

  5. Modern Algorithms for Computing
    Modern Algorithms for Computing
    SouthStone Publications

    The algorithm you choose matters more than the hardware you buy. Modern Algorithms for Computing shows working engineers how to pick, implement, benchmark, and tune algorithms for real workloads, from caches and databases to search, streaming, distributed systems, and GPUs, with runnable Python and Rust in every chapter.

  6. Adversarial Go
    Adversarial Go
    A compiled penetration test built entirely in Go — from first packet to final report
    Andrew Ingram

    Every chapter of this book advances a single, continuous engagement against one fictional target that lives entirely in your homelab: Obsidian Grid, a critical-infrastructure monitoring company that sells a SCADA/ICS visibility platform to energy utilities, water treatment facilities, and manufacturing plants. Obsidian runs Go end to end — a fleet of Go microservices connected by gRPC and Protocol Buffers, a PostgreSQL database for asset inventory, an etcd cluster for configuration, a NATS messaging bus for real-time telemetry, an MQTT broker that talks to field sensors, Prometheus for metrics, and a custom TLS PKI that issues certificates to every component. One target carries every phase of the pentest: the external web dashboard, an API gateway, an operational-technology bridge, an AI-powered anomaly-detection engine, and the infrastructure underneath. You don't just run tools against Obsidian Grid. You build the tools, in Go, one phase at a time: your own recon harness, your own scanner, your own exploits, your own implants, and finally your own report generator. Every tool compiles to a single static binary that you can cross-compile for any OS and drop on any target without dependencies. Each phase ends with a captured flag — `OBSIDIAN{...}` — and those flags become the evidence trail for the deliverable you assemble in the final chapter.

  7. Algorithms for Programmers
    Algorithms for Programmers
    SouthStone Publications

    Build hash tables, trees, heaps and graphs from scratch, then see how Redis, PostgreSQL, Kafka and Bigtable apply the same ideas in production.

  8. From Algorithms to AI Systems
    From Algorithms to AI Systems
    Data Structures and Algorithms Behind LLM Systems, in C#
    Challa Ravindranath

    An agent running its plan is a topological sort, and a prompt cache can be a radix tree. This book works through real AI problems like these one at a time, in C# code with tests you can run.

  9. The Data Structures & Algorithms Explainer
    The Data Structures & Algorithms Explainer
    From Beginner to Mastery
    Joel Bryan Juliano

    A friendly book on data structures and algorithms, from the first ideas to the ones that take practice, with every step drawn, explained in plain words, and written in pseudocode and Python.

  10. Modern Terminal Architecture
    Modern Terminal Architecture
    From TTY and PTY Internals to GPU-Accelerated Rendering
    Steve Publications

    Ever wondered what really happens inside a terminal? Go beyond the command line and explore the systems that make modern terminals work. From TTY and PTY internals to Unicode, GPU-accelerated rendering and terminal protocols, this book takes you under the hood and brings it all together with a fully working terminal emulator built in Rust.

  11. Algorithms Step by Step: A Visual Trace Guide

    20 algorithms, 60 worked examples, and visual execution cards showing pseudocode, variable states, and memory diagrams. Downloadable English PDF.

  12. The Complete Guide to the HTTP Protocol
    The Complete Guide to the HTTP Protocol
    A Deep Dive into Architecture, Internals, Implementation, Debugging and Real-World Applications
    Steve Publications

    HTTP is more than just a way to load web pages. This book takes you behind the scenes to explore how the protocol really works, from its earliest versions to HTTP/3. Learn how to read network traffic, build clients and servers from scratch, track down tricky bugs and apply what you learn to real-world systems.

  13. The Algorithm Arcade
    The Algorithm Arcade
    Build 30 Pygame Games, Master 150 Algorithms & Ace Coding Interviews
    ZA Publishers

    Stop memorizing LeetCode in a vacuum. Build 30 playable 60-FPS Python & Pygame games, watch 150+ algorithms come alive on screen, and ace every coding interview pattern with lasting visual intuition.

  14. Practical Graph Theory
    Practical Graph Theory
    The Algorithms Behind Modern Software
    Steve Publications

    Graphs are behind many of the problems software engineers face every day, from finding the shortest route to understanding complex networks. Practical Graph Theory shows you how to turn these problems into working solutions, with clear explanations, Python implementations and real-world examples that help you choose the right algorithm and understand why it works.

  15. Post-Quantum Cryptography and the Future of Digital Trust
    Post-Quantum Cryptography and the Future of Digital Trust
    Principles, Algorithms, Security, Implementation and Migration Strategies
    Steve Publications

    Quantum computing is changing the rules of digital security. The cryptographic systems we rely on today may not remain secure for much longer. This book explores the algorithms, real-world challenges and migration strategies shaping the future of post-quantum cryptography, giving professionals the knowledge they need to prepare for what comes next.