Tagged articles
algorithm design
29 articles · Page 1 of 1

ITPUBNov 2, 2026 · Fundamentals
The article explains how the rsync algorithm, invented in 1996, enables efficient remote file synchronization by using rolling checksums and strong hashes to detect matching blocks without transferring entire files, overcoming the deadlock of needing to compare files to find differences but needing to transfer files to compare.
Adler-32Andrew TridgellMD4
0 likes · 21 min read

The article dissects a high‑concurrency “cut‑the‑price” giveaway system, detailing a user‑value‑based pricing algorithm, micro‑unit Redis storage, anti‑fraud device fingerprinting, extreme convergence logic, and unit‑switching tricks, and provides a concise interview answer template.
Anti-FraudLuaRedis
0 likes · 7 min read

As AI code generators master syntax, the article argues that programmers must cultivate computational thinking—decomposition, abstraction, pattern recognition, and algorithm design—to stay indispensable, offering concrete examples, research findings, and practical guidelines for effective AI collaboration.
AI collaborationAI programmingalgorithm design
0 likes · 14 min read


21CTOMar 13, 2026 · Fundamentals
Tony Hoare, Turing Award laureate and creator of Quicksort, introduced the null reference in 1965—a design later dubbed the “billion‑dollar mistake”—and spent his career advancing programming language theory, concurrency models, and formal verification, while his public apology in 2009 spurred a wave of safer language designs.
Tony Hoarealgorithm designformal verification
0 likes · 12 min read

Matching markets, where participants mutually select each other, underpin decisions from college admissions to medical residencies and kidney exchanges; the article explains their core principles, the Gale‑Shapley deferred acceptance algorithm, key theorems on stability and optimality, and real‑world applications that illustrate why honest preferences are strategically dominant.
algorithm designdeferred acceptancekidney exchange
0 likes · 17 min read

This article explains the definitions, mathematical foundations, classic examples, solving methods, and practical differences between recurrence relations and recursion, illustrating how each approach works, their implementation details, and how they can be transformed into one another.
algorithm designalgorithm fundamentalsmathematics
0 likes · 8 min read

This article explores five sophisticated data structures—B‑Tree, Radix Tree, Rope, Bloom Filter, and Cuckoo Hash—explaining their design, typical use cases, and why they outperform classic structures when handling massive scale, high‑speed lookups, or complex data manipulation.
B+TreeBloom FilterCuckoo Hash
0 likes · 11 min read

This article explores how to replace fixed‑parameter cache‑expiration settings with mathematically derived, adaptive time‑window formulas that start slow, accelerate, and respect upper bounds, using linear, exponential, and sigmoid models refined through large‑model assistance.
algorithm designcache optimizationmathematical modeling
0 likes · 10 min read

The author recounts fixing a complex Redis Vector Sets bug, explores how human creativity outperforms LLMs in devising efficient data‑consistency checks, and shares experimental ideas—including XOR accumulators and MurmurHash—to detect non‑mutual links in large HNSW graphs.
Data ConsistencyLLMRedis
0 likes · 8 min read

DeepMind's AlphaEvolve, a Gemini-powered coding agent, combines large language models with an evolutionary framework to automatically discover, optimize, and evolve advanced algorithms, achieving notable gains in data‑center scheduling, TPU design, matrix multiplication, and even solving longstanding mathematical problems.
AIAlphaEvolveDeepMind
0 likes · 6 min read

The article explains that programming is fundamentally the combination of algorithms and data structures, breaks algorithms into control and logic, and argues that separating logic, control, and data—along with mastering essential design principles and data structures—is key to writing high‑quality, maintainable code.
Design Principlesalgorithm designcode quality
0 likes · 9 min read

This article explores five hybrid recursion‑iteration techniques, outlines their inherent limitations, and provides a step‑by‑step guide for selecting the most suitable approach based on problem nature, performance needs, readability, and resource constraints.
Pythonalgorithm designhybrid algorithms
0 likes · 16 min read

The article argues that a backend engineer’s growth hinges on mastering communication, clean coding, and architecture design by consistently abstracting problems—illustrated through Go’s ServerCodec and I/O interfaces, efficient algorithms like Trie‑based word search, and Rust’s ownership model—while recommending early Go/Rust study, reading well‑commented libraries, and hands‑on service building.
Code AbstractionGo LanguageLeetCode
0 likes · 22 min read

This article examines why encrypted data is unfriendly to fuzzy search, categorises three implementation strategies—naïve, conventional, and advanced—analyses their advantages and disadvantages, and provides practical guidance and reference links for securely enabling fuzzy queries on encrypted fields.
algorithm designdatabase queryencrypted data
0 likes · 11 min read

This article explains the greedy algorithm principle, outlines its general process, provides pseudocode, and demonstrates its application through a change‑making problem solved with a step‑by‑step example and a complete C++ implementation in detail.
algorithm designalgorithm examplechange making
0 likes · 6 min read

The article details how a university team overcame early setbacks and a critical bug to win the 2023 Huawei Software Elite Challenge by employing a universal scheduling algorithm, adaptive path‑finding, collision‑avoidance, and physics‑based motion control across diverse multi‑robot map scenarios.
AI competitionHuaweiPathfinding
0 likes · 15 min read

This article examines the technical foundations of lottery randomness, explains linear congruential generators and their parameter constraints, discusses implementation pitfalls such as low‑bit bias, and reviews several practical lottery algorithms—including selection, shuffle, reservoir sampling, red‑packet splitting, and probability methods—to achieve fair and scalable interactive draws.
ImplementationJavaLottery
0 likes · 19 min read

Huolala’s A/B testing platform, serving over 200 business scenarios and thousands of experiments, combines a three‑stage workflow with a modular architecture—including a configuration console, SDK for traffic routing and data collection, and a robust data‑recovery pipeline—while offering five distinct allocation algorithms to ensure scientific experiment results.
A/B testingalgorithm designexperiment platform
0 likes · 17 min read

This article compares recommendation, advertising, and search algorithms, explaining how their core problems, optimization objectives, model architectures, auxiliary strategies, and system-level challenges differ, with insights drawn from the author’s years of experience in each field.
AIAdvertisingalgorithm design
0 likes · 8 min read

This article explores elevator scheduling challenges, starting with a relatable programmer’s missed movie, then delves into traditional algorithms like FCFS, SSTF, SCAN, LOOK, and SATF, followed by real‑time strategies such as EDF, SCAN‑EDF, PI, and FD‑SCAN, and finally discusses modern group‑control research and practical system specifications.
FCFSOperations Researchalgorithm design
0 likes · 13 min read

This article examines how low‑level recommendation algorithm techniques can upgrade content‑feed systems to boost user growth, covering problem analysis, growth factors, personalization upgrades, cold‑start mechanisms, bias mitigation via causal inference, and utility‑driven user profiling.
Causal InferencePersonalizationalgorithm design
0 likes · 14 min read

The Beihang University team’s video copyright detection solution samples frames every 200 ms, extracts 512‑dimensional ResNet‑18 features, and uses handcrafted cosine‑similarity matching to identify source videos and plagiarized segments, all while operating on limited hardware without training any models.
algorithm designfeature extractionframe sampling
0 likes · 12 min read

This document presents a multi‑objective optimization project that integrates the Shell Score credit system into exhibition slot allocation using adaptive‑grid based AG‑MOPSO, evaluates several swarm‑intelligence algorithms (ABC, ACO, PSO, MOPSO), and details the algorithm design, implementation steps, and experimental results across multiple cities.
AIMulti-Objective OptimizationParticle Swarm Optimization
0 likes · 12 min read


21CTOSep 24, 2018 · Artificial Intelligence
This article explains the fundamentals of recommendation algorithms, illustrates their modest impact with real‑world examples, and outlines how modern e‑commerce systems collect data, rank items, and use rapid A/B testing to continuously improve personalized recommendations.
A/B testingPersonalizationalgorithm design
0 likes · 10 min read


ITPUBMay 10, 2017 · Fundamentals
The article explores why many programmers find algorithms difficult, critiques typical textbook explanations, and presents a deeper, step‑by‑step reasoning for Huffman coding that emphasizes understanding proofs, underlying thought processes, and general problem‑solving principles.
AlgorithmsHuffman codingLearning Strategies
0 likes · 36 min read

This article explains how mastering data structures and algorithm analysis provides a problem‑solving mindset, covering fundamental concepts, Dijkstra’s shortest‑path algorithm, topological sorting for dependency resolution, and Huffman coding for data compression, illustrating their broad impact on software development.
AlgorithmsDijkstraHuffman coding
0 likes · 19 min read


21CTOOct 1, 2015 · Fundamentals
This article examines the shortcomings of traditional Bayesian‑based movie ranking formulas, illustrates how vote count biases affect rankings, and proposes a new approach that classifies films into audience segments and incorporates longevity metrics to produce more universally appealing and enduring top‑250 lists.
algorithm designbayesian averagemovie ranking
0 likes · 13 min read

This article explains the fundamentals of dynamic programming, covering its basic concepts, underlying ideas, applicable problem properties, step‑by‑step solution methodology, implementation considerations, and provides a concise pseudo‑code framework to illustrate the algorithmic process.
DP fundamentalsalgorithm designdynamic programming
0 likes · 7 min read

This article explains the divide-and-conquer algorithmic technique, covering its basic concepts, design strategy, three-step recursive process, complexity analysis, and a list of classic problems that can be efficiently solved using this method.
Complexity AnalysisDivide and Conqueralgorithm design
0 likes · 7 min read
