Tagged articles

Algorithm

648 articles · Page 5 of 7
Liangxu Linux
Liangxu Linux
Jul 27, 2021 · Fundamentals

Finding the Poison Bottle with Minimum Rabbits: Binary Encoding Explained

This article explores how to identify a single poisonous bottle among 1,000 using the fewest rabbits and the shortest time by analyzing pure‑time, pure‑space, balanced strategies, and finally applying binary encoding to solve the classic interview puzzle in just one day.

AlgorithmInterviewOptimization
0 likes · 5 min read
Finding the Poison Bottle with Minimum Rabbits: Binary Encoding Explained
NiuNiu MaTe
NiuNiu MaTe
Jul 27, 2021 · Fundamentals

Three Clever Ways to Solve the Circular Gas Station Problem

This article explains the classic circular gas‑station challenge, presents its key constraints, walks through a concrete example, and compares three solution strategies—brute‑force, reverse (backtrack) greedy, and a cumulative‑sum graphical method—highlighting their trade‑offs and insights.

Algorithmbrute-forcecoding interview
0 likes · 7 min read
Three Clever Ways to Solve the Circular Gas Station Problem
Java Interview Crash Guide
Java Interview Crash Guide
Jul 24, 2021 · Backend Development

Mastering Rate Limiting in Go: Algorithms, Implementations, and Best Practices

This article explains why rate limiting is essential for high‑availability services, describes HTTP 429 standards and response headers, classifies rate‑limiting strategies by granularity, target, and algorithm, and provides detailed Go code examples using the time/rate library for fixed‑window, sliding‑window, leaky‑bucket, and token‑bucket implementations.

AlgorithmGobackend
0 likes · 28 min read
Mastering Rate Limiting in Go: Algorithms, Implementations, and Best Practices
Beike Product & Technology
Beike Product & Technology
Jul 8, 2021 · Fundamentals

Understanding HyperLogLog: Algorithm Principles, Redis Implementation, and Experimental Analysis

This article explores the HyperLogLog algorithm for cardinality estimation, tracing its development from Linear and LogLog counting, detailing its Redis implementation with sparse and dense encodings and command workflows, and presenting experiments that demonstrate its memory efficiency and analyze observed error rates versus the theoretical 0.81% standard deviation.

AlgorithmHyperLogLogRedis
0 likes · 13 min read
Understanding HyperLogLog: Algorithm Principles, Redis Implementation, and Experimental Analysis
Selected Java Interview Questions
Selected Java Interview Questions
Jul 5, 2021 · Fundamentals

Heap Sort: Theory, Steps, and Java Implementation

This article explains heap sort's time and space complexities, introduces max‑heap and min‑heap concepts, details the algorithmic steps for building and maintaining the heap, and provides a complete Java implementation with accompanying code examples.

AlgorithmComplexityData Structures
0 likes · 8 min read
Heap Sort: Theory, Steps, and Java Implementation
NiuNiu MaTe
NiuNiu MaTe
Jun 25, 2021 · Fundamentals

How to Identify a Poisoned Bottle with Minimal Rabbits Using Binary Logic

This article explores a classic puzzle where one must locate a single poisonous bottle among 1000 using rabbits as testers, comparing time‑focused, space‑focused, and balanced strategies before revealing an optimal binary‑encoding solution that finds the poison in one day with just ten rabbits.

AlgorithmOptimizationbinary
0 likes · 5 min read
How to Identify a Poisoned Bottle with Minimal Rabbits Using Binary Logic
ByteFE
ByteFE
Jun 15, 2021 · Frontend Development

Generating Chinese Character Stroke Order Animations from Font Files

This article details a technical approach to automatically generating stroke order animation data for Chinese characters from standard font files, covering SVG rendering, coordinate transformations, deep learning-based stroke decomposition, and CSS animation techniques.

AlgorithmFont ParsingSVG animation
0 likes · 20 min read
Generating Chinese Character Stroke Order Animations from Font Files
macrozheng
macrozheng
Jun 11, 2021 · Backend Development

How a Faster CRC-64 Boosted Redis Performance: The CRCSpeed Story

An in‑depth look at how mattsta’s CRCSpeed implementation replaced Redis’s original CRC algorithm, delivering up to four‑fold speed gains, the history of its development from 2014 to its 2020 integration, and the performance impact on RDB generation and cluster slot hashing.

AlgorithmCRCRedis
0 likes · 14 min read
How a Faster CRC-64 Boosted Redis Performance: The CRCSpeed Story
iQIYI Technical Product Team
iQIYI Technical Product Team
Jun 4, 2021 · Artificial Intelligence

Intelligent Video Budget Pacing System for Online Video Platforms

An ecosystem‑wide intelligent promotion system applies a budget‑pacing algorithm with probabilistic throttling and fine‑ranking score adjustments in 5‑minute slots, guaranteeing uniform video exposure while minimizing impact on overall consumption, boosting daily exposure completion from under 5 % to up to 70 % and reducing watch‑time loss.

AlgorithmBudget PacingContent Distribution
0 likes · 10 min read
Intelligent Video Budget Pacing System for Online Video Platforms
Python Programming Learning Circle
Python Programming Learning Circle
May 31, 2021 · Game Development

Python Pygame Missile Auto‑Tracking Algorithm Tutorial

This article explains how to implement a missile auto‑tracking system in a 2D shooting game using Python and Pygame, covering the underlying differential‑equation‑based algorithm, step‑by‑step calculations, handling of coordinate systems, and code for rotation and rendering.

AlgorithmGame DevelopmentMissile Tracking
0 likes · 9 min read
Python Pygame Missile Auto‑Tracking Algorithm Tutorial
NiuNiu MaTe
NiuNiu MaTe
May 28, 2021 · Fundamentals

How to Win the Apple‑Picking Game: Recursive and DP Strategies Explained

This article walks through the classic “pick‑from‑both‑ends” apple game, analyzing why greedy choices fail, and presents recursive, memoized, and dynamic‑programming solutions in Go, complete with code examples and step‑by‑step explanations to help you determine the winning strategy.

AlgorithmGame TheoryRecursion
0 likes · 8 min read
How to Win the Apple‑Picking Game: Recursive and DP Strategies Explained
vivo Internet Technology
vivo Internet Technology
May 26, 2021 · Backend Development

Dynamic Load Balancing Algorithms in the TARS Microservice Framework

The Vivo Internet Server Team extended TARS with a dynamic load‑balancing algorithm that recalculates each node’s weight every minute using metrics such as 5‑minute average response time, timeout and exception rates, CPU, memory and network load, automatically adapting traffic distribution beyond the built‑in round‑robin, weighted round‑robin and consistent‑hash methods.

AlgorithmC++Dynamic Weight
0 likes · 13 min read
Dynamic Load Balancing Algorithms in the TARS Microservice Framework
DataFunTalk
DataFunTalk
May 26, 2021 · Artificial Intelligence

Evolution, Algorithms, and Architecture of Qingteng FM's Recommendation System

This article details how Qingteng FM’s recommendation system progressed from manual curation to strategy‑based and personalized recommendations, explains the multi‑stage algorithm pipeline, describes the three‑layer deployment architecture, and outlines future challenges and opportunities in audio content recommendation.

AlgorithmAudio Streamingarchitecture
0 likes · 12 min read
Evolution, Algorithms, and Architecture of Qingteng FM's Recommendation System
Ops Development Stories
Ops Development Stories
May 25, 2021 · Backend Development

Master Rate Limiting: Counter, Sliding Window, Leaky & Token Bucket Algorithms

This article introduces common rate‑limiting algorithms—counter, sliding‑window, leaky bucket, and token bucket—explains their principles, compares their advantages and drawbacks, and provides Java code examples, including how Sentinel 1.8.0 implements each technique using structures such as LeapArray and WarmUpController.

AlgorithmSentineljava
0 likes · 17 min read
Master Rate Limiting: Counter, Sliding Window, Leaky & Token Bucket Algorithms
Programmer DD
Programmer DD
May 24, 2021 · Fundamentals

Master Red‑Black Trees: From 2‑3‑4 Trees to Practical Implementation

This article walks through the fundamentals of red‑black trees, explains their equivalence to 2‑3‑4 trees, details insertion and deletion rules, compares their performance to plain binary search trees, and shares practical debugging tips for implementing a balanced tree in code.

2-3-4 TreeAlgorithmData Structures
0 likes · 12 min read
Master Red‑Black Trees: From 2‑3‑4 Trees to Practical Implementation
Intelligent Backend & Architecture
Intelligent Backend & Architecture
May 15, 2021 · Fundamentals

Mastering Algorithms: Definitions, Design Principles, and Complexity

This article introduces the core concepts of algorithms, covering their definition, five essential properties, design principles such as correctness and readability, methods for analyzing time and space complexity, common complexity classes, and a variety of algorithmic strategies including recursion, dynamic programming, greedy and divide‑and‑conquer techniques.

AlgorithmComplexityDesign Principles
0 likes · 23 min read
Mastering Algorithms: Definitions, Design Principles, and Complexity
Java Backend Technology
Java Backend Technology
May 12, 2021 · Fundamentals

Master Bitwise Operations: From Basics to Classic Interview Problems

This article introduces the fundamentals of bitwise operations, explains each operator with clear rules and examples, demonstrates practical tricks such as parity checks and value swapping, and walks through classic interview problems—including addition without arithmetic, counting set bits, and finding unique numbers—complete with Java code snippets and visual illustrations.

AlgorithmInterviewbinary
0 likes · 15 min read
Master Bitwise Operations: From Basics to Classic Interview Problems
NiuNiu MaTe
NiuNiu MaTe
May 11, 2021 · Fundamentals

Can a Frog Jump Across All Platforms? Jump Game Solutions with DFS, DP, Greedy

Given an array where each element indicates the maximum jump length from that position, this article explores multiple strategies—depth‑first search, dynamic programming, greedy, and reverse‑tracking—to determine whether the frog can reach the last board, comparing their efficiency and implementation details.

AlgorithmDFSdynamic programming
0 likes · 7 min read
Can a Frog Jump Across All Platforms? Jump Game Solutions with DFS, DP, Greedy
21CTO
21CTO
May 10, 2021 · Fundamentals

What to Expect in Google’s 7‑Round Interview: A Candidate’s Journey and Tips

The author recounts a full Google China interview experience—including resume submission, recruiter prescreen, phone and onsite coding rounds, HR and English interviews, lunch with engineers, and final feedback—while sharing practical advice and insights to help future candidates prepare effectively.

AlgorithmCodingGoogle interview
0 likes · 10 min read
What to Expect in Google’s 7‑Round Interview: A Candidate’s Journey and Tips
360 Smart Cloud
360 Smart Cloud
Apr 30, 2021 · Backend Development

Understanding Rate Limiting: Concepts, Architectures, Algorithms, and a Redis‑Lua Token Bucket Implementation

This article explains what rate limiting is, why it is needed, the typical actions taken when limits are reached, compares single‑node and distributed architectures, reviews four classic limiting algorithms, and provides a practical Redis‑Lua token‑bucket implementation with code examples.

Algorithmbackendrate limiting
0 likes · 14 min read
Understanding Rate Limiting: Concepts, Architectures, Algorithms, and a Redis‑Lua Token Bucket Implementation
Programmer DD
Programmer DD
Apr 25, 2021 · Fundamentals

How Bitmaps and Bloom Filters Supercharge Massive Data Lookups

This article explains the bitmap concept, demonstrates how to store and query billions of integers using bit-level operations, introduces BitSet for dynamic bit vectors, and describes Bloom filters as probabilistic structures for fast, memory‑efficient membership testing in large‑scale data scenarios.

AlgorithmBitmapBloom filter
0 likes · 12 min read
How Bitmaps and Bloom Filters Supercharge Massive Data Lookups
Xianyu Technology
Xianyu Technology
Apr 21, 2021 · Backend Development

Seller Posting Promotion Platform Architecture and Implementation

To boost Xianyu’s user retention, the team built a long‑term promotion platform that combines configurable operational activities with algorithmic SPU recommendations, using Kunpeng extension points, supply‑demand analysis, and conditional search to personalize seller prompts, improve click‑through, and lay groundwork for broader scenario expansion.

Algorithmdata-analysise-commerce
0 likes · 9 min read
Seller Posting Promotion Platform Architecture and Implementation
Big Data Technology & Architecture
Big Data Technology & Architecture
Apr 20, 2021 · Fundamentals

Consistent Hashing and Jump Consistent Hash: Concepts, Implementation, and Use Cases

This article explains the fundamentals of consistent hashing, compares the classic ring‑based method with the more efficient jump consistent hash algorithm, provides reference implementations in C++, discusses their time‑complexity and practical trade‑offs, and shows how they are applied in systems such as Greenplum.

AlgorithmGreenplumLoad Balancing
0 likes · 11 min read
Consistent Hashing and Jump Consistent Hash: Concepts, Implementation, and Use Cases
DataFunTalk
DataFunTalk
Apr 4, 2021 · Fundamentals

Open the Lock Problem – BFS Solution in Java

Given a four‑wheel combination lock with digits 0‑9, the task is to find the minimum number of rotations needed to reach a target combination while avoiding a list of dead‑end states, using a breadth‑first search algorithm illustrated with Java code examples.

AlgorithmBFSLock Problem
0 likes · 7 min read
Open the Lock Problem – BFS Solution in Java
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Mar 26, 2021 · Fundamentals

Optical Fingerprint Sensors: Principles, Common Issues, and Gabor Filter Preprocessing

Optical fingerprint sensors capture ridge patterns via illuminated light through an under‑display lens, offering full‑screen designs but facing challenges like incomplete presses, lighting failures, and dirty or wet fingers, while Gabor filter preprocessing enhances image texture to improve recognition robustness and guide future hardware‑algorithm improvements.

AlgorithmBiometricsGabor filter
0 likes · 8 min read
Optical Fingerprint Sensors: Principles, Common Issues, and Gabor Filter Preprocessing
Sohu Tech Products
Sohu Tech Products
Mar 17, 2021 · Big Data

Understanding Simhash: From Traditional Hash to Random Projection LSH

This article explains the principles and implementation of Simhash, covering the shortcomings of traditional hash functions, the use of cosine similarity, random projection for dimensionality reduction, locality‑sensitive hashing, and practical optimizations for large‑scale duplicate detection.

AlgorithmBig DataLocality Sensitive Hashing
0 likes · 24 min read
Understanding Simhash: From Traditional Hash to Random Projection LSH
DevOps
DevOps
Mar 16, 2021 · Big Data

Digital Transformation Six‑Map Methodology: Strategic, Business, Demand, Application, Algorithm, and Data Maps

The article presents a comprehensive six‑map framework for digital transformation—strategic, business, demand, application, algorithm, and data maps—explaining how enterprises can systematically align goals, processes, requirements, technologies, models, and data assets to achieve effective, data‑driven change.

AlgorithmData Mappingbusiness process
0 likes · 18 min read
Digital Transformation Six‑Map Methodology: Strategic, Business, Demand, Application, Algorithm, and Data Maps
Wukong Talks Architecture
Wukong Talks Architecture
Mar 11, 2021 · Fundamentals

A Plain-Language Introduction to Binary Trees

This article uses the occasion of Tree‑Planting Day to explain binary trees in simple terms, covering their definition, node types, degree, levels, five tree shapes, traversal methods (pre‑order, in‑order, post‑order, level‑order), advantages, drawbacks, and a brief comparison with binary search.

Algorithmbinary treefundamentals
0 likes · 9 min read
A Plain-Language Introduction to Binary Trees
New Oriental Technology
New Oriental Technology
Mar 1, 2021 · Frontend Development

Manhattan Routing Algorithm Implementation for Diagram Connections

This article explains the Manhattan routing algorithm used for automatic orthogonal connection routing in diagram tools, discusses its origins, references useful libraries like draw2d, and provides a full TypeScript implementation with code examples and practical application scenarios.

AlgorithmFrontendJavaScript
0 likes · 8 min read
Manhattan Routing Algorithm Implementation for Diagram Connections
58 Tech
58 Tech
Feb 26, 2021 · Fundamentals

Efficient Similar‑String Search in Search Engines Using Levenshtein and Damerau‑Levenshtein Automata

This article presents a comprehensive technical guide on applying Levenshtein and Damerau‑Levenshtein automata to efficiently solve the problem of fast similar‑string lookup in search‑engine systems, introducing novel DFA construction algorithms, theoretical correctness proofs, and practical implementation details with Java code examples.

AlgorithmAutomataDamerau-Levenshtein
0 likes · 53 min read
Efficient Similar‑String Search in Search Engines Using Levenshtein and Damerau‑Levenshtein Automata
DeWu Technology
DeWu Technology
Feb 26, 2021 · Backend Development

Design and Implementation of an AB Testing Platform with Traffic Allocation Algorithms

The paper presents an AB‑testing platform that structures experiments into scenes, buckets, layers and traffic, uses a salted‑hash based allocation and a two‑step “multi‑withdraw‑fill” algorithm to adjust percentages while preserving user‑experiment stability, and describes a lightweight, cache‑centric system architecture with staggered config reloads and safeguards against database spikes and zombie nodes.

AB testingAlgorithmExperiment Platform
0 likes · 11 min read
Design and Implementation of an AB Testing Platform with Traffic Allocation Algorithms
DataFunSummit
DataFunSummit
Feb 25, 2021 · Information Security

Intelligent Risk Control at 58.com: Architecture, Challenges, and Unknown‑Risk Detection

This article introduces the business background and security challenges of 58.com, explains the three‑layer intelligent risk‑control architecture built on big‑data and AI, and details practical methods for perceiving and detecting unknown risks using techniques such as PU learning, Prophet, and HotSpot.

AIAlgorithminformation security
0 likes · 14 min read
Intelligent Risk Control at 58.com: Architecture, Challenges, and Unknown‑Risk Detection
Alibaba Cloud Developer
Alibaba Cloud Developer
Feb 24, 2021 · Artificial Intelligence

How Alibaba’s ICBU Algorithm Team Transformed E‑Commerce in 2020

This article reviews the 2020 achievements of Alibaba.com’s ICBU algorithm team, explaining the evolving role of algorithm engineers, the fundamentals of e‑commerce algorithms, the team’s three‑pillar workflow of Understanding, Growth, and Matching, and the technical breakthroughs that drove business impact and future directions.

AlgorithmAlibabaOptimization
0 likes · 28 min read
How Alibaba’s ICBU Algorithm Team Transformed E‑Commerce in 2020
360 Tech Engineering
360 Tech Engineering
Feb 23, 2021 · Artificial Intelligence

Video Stutter Detection via Frame Difference Analysis Using FFmpeg

This article explains a method for detecting video stutter by converting uploaded videos into frame sequences with ffmpeg, calculating pixel differences between consecutive frames, aggregating motion metrics, removing scene‑change effects, computing a dynamic factor, and outputting a binary result indicating the presence or absence of stutter.

Algorithmcomputer visionframe analysis
0 likes · 5 min read
Video Stutter Detection via Frame Difference Analysis Using FFmpeg
php Courses
php Courses
Feb 23, 2021 · Backend Development

Implementing IP Rate Limiting with Redis List in PHP

This article explains how to limit the number of requests an IP can make to a specific API endpoint within a sliding time window using Redis list structures in PHP, including example scenario, implementation logic, and complete code snippets.

Algorithmip limit
0 likes · 4 min read
Implementing IP Rate Limiting with Redis List in PHP
Top Architect
Top Architect
Feb 14, 2021 · Backend Development

An Introduction to Rate Limiting: Concepts, Classifications, and Go Implementation

This article explains the fundamentals of rate limiting, its importance for high‑availability services, various classification dimensions, common algorithms such as fixed‑window, sliding‑window, leaky‑bucket and token‑bucket, and demonstrates practical usage with Go's golang.org/x/time/rate library including code examples and configuration tips.

Algorithmdistributed systemsgolang
0 likes · 26 min read
An Introduction to Rate Limiting: Concepts, Classifications, and Go Implementation
FunTester
FunTester
Feb 10, 2021 · Fundamentals

How to Find the Longest Consecutive 1s in a Binary String Using Java

This article explains several Java techniques—including a simple loop, String.split, and regular‑expression approaches—to compute the maximum number of consecutive '1' characters in a binary string, and even extends the method to handle mixed‑character inputs.

AlgorithmCode ExampleString processing
0 likes · 6 min read
How to Find the Longest Consecutive 1s in a Binary String Using Java
Liangxu Linux
Liangxu Linux
Feb 9, 2021 · Fundamentals

Master Recursion: Array Sum and Linked List Deletion Explained with Java Code

This article explains the core concepts of recursion by walking through an array‑sum example and a LeetCode linked‑list removal problem, detailing the necessary base case, recursive formula, and providing complete Java implementations with step‑by‑step visual illustrations.

AlgorithmData StructuresLeetCode
0 likes · 10 min read
Master Recursion: Array Sum and Linked List Deletion Explained with Java Code
21CTO
21CTO
Jan 31, 2021 · Backend Development

Mastering Load Balancing: From Random to Smooth Weighted Round‑Robin in Java

This article explains load‑balancing fundamentals, covering hardware vs. software devices, server‑side and client‑side balancing, and walks through common algorithms—random, weighted random, round‑robin, weighted and smooth weighted round‑robin, hash, consistent hash with virtual nodes, and least‑connection—each illustrated with Java code examples and diagrams.

Algorithmdistributed systems
0 likes · 18 min read
Mastering Load Balancing: From Random to Smooth Weighted Round‑Robin in Java
MaGe Linux Operations
MaGe Linux Operations
Jan 26, 2021 · Fundamentals

30 Quick Python Mini‑Projects to Master Core Programming Skills

This tutorial presents thirty concise Python tasks—ranging from duplicate detection and anagram checking to list chunking, dictionary merging, and execution timing—each accompanied by clear explanations and ready‑to‑run code snippets, enabling beginners to solidify fundamental concepts through hands‑on practice.

AlgorithmBeginnerPython
0 likes · 14 min read
30 Quick Python Mini‑Projects to Master Core Programming Skills
21CTO
21CTO
Jan 11, 2021 · Artificial Intelligence

How to Build a Recommendation System from Scratch: Key Concepts and Strategies

This article explains the fundamentals of recommendation systems, covering data collection, user and content profiling, system architecture, algorithmic pipelines such as recall, filtering, ranking, and evaluation metrics, while also discussing practical challenges like echo chambers and long‑term user value.

AlgorithmRankingevaluation
0 likes · 16 min read
How to Build a Recommendation System from Scratch: Key Concepts and Strategies
Aotu Lab
Aotu Lab
Jan 8, 2021 · Frontend Development

Front‑End Tech Highlights: Video Players, Performance Tips, AI Recommendations

From the rise and fall of Flash to modern front‑end video playback techniques, performance optimization strategies, AI recommendation fundamentals, CLI design best practices, and a glimpse into game development and algorithm analysis, this article surveys diverse cutting‑edge technologies shaping today’s software landscape.

AIAlgorithmCLI
0 likes · 10 min read
Front‑End Tech Highlights: Video Players, Performance Tips, AI Recommendations
vivo Internet Technology
vivo Internet Technology
Jan 6, 2021 · Big Data

How HyperLogLog Estimates Cardinality in Massive Data Sets

This article explains the cardinality‑counting problem behind DAU/MAU and unique visitor metrics, compares naïve solutions like Set, Bitmap and Bloom filter, introduces big‑data algorithms such as Linear Counting, LogLog and HyperLogLog, and shows how Redis implements HyperLogLog with dense and sparse storage optimizations.

AlgorithmBig DataCardinality
0 likes · 17 min read
How HyperLogLog Estimates Cardinality in Massive Data Sets
DataFunTalk
DataFunTalk
Dec 26, 2020 · Product Management

Analysis of Soul’s Social Product Strategy, Community, and Growth Metrics

This article provides a comprehensive analysis of the Soul social app, examining its non‑hormonal positioning, community atmosphere, relationship‑chain metrics, content‑driven engagement, algorithmic matching, and future growth strategies, highlighting how these factors drive user retention and scale.

AlgorithmCommunity ManagementUser Retention
0 likes · 13 min read
Analysis of Soul’s Social Product Strategy, Community, and Growth Metrics
Programmer DD
Programmer DD
Dec 13, 2020 · Backend Development

Master Sliding Window Rate Limiting in Java with Simple Code

This article introduces a straightforward Java implementation of a sliding‑window rate‑limiting algorithm for single‑machine use, explains its core logic, demonstrates its behavior with sample output, and visualizes the step‑by‑step process of how timestamps are managed within the window.

AlgorithmSliding Windowjava
0 likes · 8 min read
Master Sliding Window Rate Limiting in Java with Simple Code
Wukong Talks Architecture
Wukong Talks Architecture
Dec 11, 2020 · Fundamentals

Byzantine Generals Problem Illustrated with Three Kingdoms Card Game

This article uses the popular Chinese card game Three Kingdoms to illustrate the Byzantine Generals Problem, explaining its relevance to distributed consensus, outlining four foundational theories and eight protocols, and demonstrating how voting, message tampering, and signature mechanisms affect agreement among nodes.

AlgorithmByzantine Fault ToleranceThree Kingdoms
0 likes · 14 min read
Byzantine Generals Problem Illustrated with Three Kingdoms Card Game
New Oriental Technology
New Oriental Technology
Dec 7, 2020 · Fundamentals

Efficient Circuit Connection Modeling with a Circular Doubly Linked List

The article compares an adjacency‑list approach and a circular doubly linked list for representing circuit connections, showing that the linked‑list method achieves O(1) connect/disconnect operations with linear space, making it the most efficient and simple solution for graph‑based circuit modeling.

AlgorithmData Structurescircuit modeling
0 likes · 4 min read
Efficient Circuit Connection Modeling with a Circular Doubly Linked List
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 23, 2020 · Fundamentals

Understanding Recursion: Concepts, Complexity Analysis, and Practical Examples

This article introduces recursion, explains its core principles, presents a general problem‑solving approach, and walks through multiple practical examples—from factorial and climbing stairs to binary tree inversion and the Tower of Hanoi—while analyzing time and space complexities and offering optimization techniques.

AlgorithmDivide and ConquerRecursion
0 likes · 23 min read
Understanding Recursion: Concepts, Complexity Analysis, and Practical Examples
DataFunTalk
DataFunTalk
Nov 11, 2020 · Artificial Intelligence

Cold-Start Optimization for Feed Ads: Algorithm Design and Experimental Evaluation

In this live talk, Dr. Zhang Renyu, an assistant professor at NYU Shanghai and economist at Kuaishou, presents his research on optimizing cold-start problems in feed advertising using a novel Shadow Bidding with Learning (SBL) algorithm, detailing its design, implementation, and experimental results.

AdvertisingAlgorithmcold-start
0 likes · 4 min read
Cold-Start Optimization for Feed Ads: Algorithm Design and Experimental Evaluation
Hulu Beijing
Hulu Beijing
Nov 10, 2020 · Artificial Intelligence

Hulu’s AI Secrets: Binge Ad Prediction and Real‑Time Allocation

On November 7, 2020, Hulu’s Shulei presented how the company’s video advertising platform employs AI-driven algorithms—including binge‑watch prediction, inventory forecasting with Prophet, and a PID‑controller based real‑time allocation system—to enhance targeting, optimize revenue, and improve user experience.

AIAdvertisingAlgorithm
0 likes · 7 min read
Hulu’s AI Secrets: Binge Ad Prediction and Real‑Time Allocation
Architecture Digest
Architecture Digest
Oct 23, 2020 · Fundamentals

Understanding Consistency Algorithms: Paxos, Raft, ZAB, and Gossip

This article explains why data consistency is essential in distributed systems, defines consistency, compares strong and eventual consistency, and details the design and operation of major algorithms such as Paxos, Multi‑Paxos, Raft, ZAB, and Gossip with illustrative examples and diagrams.

Algorithmconsistencydistributed-systems
0 likes · 11 min read
Understanding Consistency Algorithms: Paxos, Raft, ZAB, and Gossip
JD Retail Technology
JD Retail Technology
Oct 16, 2020 · Industry Insights

How JD’s PLUS Membership Used Data and Algorithms to Drive Growth

This article examines JD.com’s transition from traffic‑driven acquisition to a data‑centric, algorithm‑powered membership model, detailing the construction of a robust data foundation, multi‑level analysis methods, productized dashboards, and growth‑hacking experiments that boosted PLUS member retention and revenue.

AlgorithmData AnalysisGrowth Hacking
0 likes · 24 min read
How JD’s PLUS Membership Used Data and Algorithms to Drive Growth
MaGe Linux Operations
MaGe Linux Operations
Oct 14, 2020 · Fundamentals

How to Remove Duplicates In-Place From a Sorted Array in Python

This article explains how to remove duplicates from a sorted array in‑place using Python, detailing the problem constraints, providing two illustrative examples, outlining a simple iteration‑based solution approach, and presenting a complete code implementation that operates with O(1) extra space.

AlgorithmArrayduplicate removal
0 likes · 3 min read
How to Remove Duplicates In-Place From a Sorted Array in Python
Hulu Beijing
Hulu Beijing
Sep 11, 2020 · Fundamentals

Crack Hulu’s 2020 Campus Coding Test: 4 Algorithm Challenges Explained

This article walks you through Hulu's 2021 campus recruitment update, explains the online programming test schedule and format, shares interview tips, and provides detailed statements, sample I/O, and solution analyses for four algorithmic problems covering probability, array maxima, maze navigation, and segment‑tree optimization.

AlgorithmData Structurescoding interview
0 likes · 15 min read
Crack Hulu’s 2020 Campus Coding Test: 4 Algorithm Challenges Explained
Xianyu Technology
Xianyu Technology
Sep 9, 2020 · Backend Development

Xianyu Product Attribute Completion Strategy

Xianyu’s new attribute completion system combines MetaQ messaging, AI image recognition, and offline option configuration to auto‑populate key product details, incentivize sellers, and iteratively refine attributes via sales metrics, boosting structured coverage by 30%, cutting verification time 70%, and raising UV‑CTR around three percent.

AlgorithmXianyuattribute completion
0 likes · 7 min read
Xianyu Product Attribute Completion Strategy
IT Architects Alliance
IT Architects Alliance
Aug 30, 2020 · Industry Insights

Will TikTok’s Core Algorithm Face Export Bans? China’s New Tech Export Controls Explained

China’s latest revision of its technology export control catalogue adds data‑driven personalized push technology, potentially barring TikTok’s core algorithm from export, and experts advise firms like ByteDance to pause negotiations and complete licensing procedures amid heightened regulatory scrutiny.

AlgorithmChinaTechnology Trade
0 likes · 4 min read
Will TikTok’s Core Algorithm Face Export Bans? China’s New Tech Export Controls Explained
Youku Technology
Youku Technology
Jul 30, 2020 · Artificial Intelligence

Key Technologies for Entertainment Content Flow Management: Multi-Task Guarantee Optimization Algorithm Practice

The presentation explains how a multi‑task guarantee optimization algorithm—illustrated with Youku’s new hot series—builds an exposure‑sensitivity model to allocate limited video‑placement resources across homepage and channel slots, overcoming manual rule limitations and simultaneously maximizing play counts while satisfying diverse scenario and content objectives.

AlgorithmContent OptimizationKDD2020
0 likes · 2 min read
Key Technologies for Entertainment Content Flow Management: Multi-Task Guarantee Optimization Algorithm Practice
21CTO
21CTO
Jul 11, 2020 · Fundamentals

What Really Happens in a Google Engineer Interview? A Firsthand Six‑Round Journey

The author shares a detailed, six‑round Google China engineering interview experience—including personal background, each interview stage from recruiter prescreen to onsite sessions, typical coding and algorithm questions, system‑design challenges, and practical tips for preparation and follow‑up.

AlgorithmGoogle interviewSoftware Engineering
0 likes · 11 min read
What Really Happens in a Google Engineer Interview? A Firsthand Six‑Round Journey
DataFunTalk
DataFunTalk
Jul 2, 2020 · Product Management

Strategies for Expanding User Circles and Content Matching in Short‑Video Platforms

This article examines how short‑video platforms can expand into new user circles by leveraging external trend data, competitive analysis, KOL resources, precise content matching, and data‑driven product strategies to acquire, retain, and reactivate users while balancing growth and platform health.

AlgorithmContent StrategyKOL
0 likes · 14 min read
Strategies for Expanding User Circles and Content Matching in Short‑Video Platforms
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 24, 2020 · Backend Development

Choosing the Right Rate‑Limiting Algorithm: Simple Window, Sliding Window, Leaky Bucket, Token Bucket & Sliding Log

This article explains the purpose of flow control, compares various rate‑limiting algorithms—including simple window, sliding window, leaky bucket, token bucket, and sliding log—provides Java interface definitions and code examples, discusses their complexity, precision, smoothness, and suitability for single‑machine and distributed scenarios, and offers practical deployment tips using Sentinel, Nginx, Guava, Tair, and Redis.

AlgorithmRedisdistributed systems
0 likes · 31 min read
Choosing the Right Rate‑Limiting Algorithm: Simple Window, Sliding Window, Leaky Bucket, Token Bucket & Sliding Log
Programmer DD
Programmer DD
Jun 22, 2020 · Operations

Mastering Load Balancing: Types, Tools, and Algorithms Explained

This article explains what load balancing is, why it is essential for scaling web services, outlines the four OSI‑layer classifications, compares popular software balancers such as LVS, Nginx and HAProxy, and reviews common static and dynamic load‑balancing algorithms with their advantages and use cases.

AlgorithmHAProxyLVS
0 likes · 17 min read
Mastering Load Balancing: Types, Tools, and Algorithms Explained
360 Tech Engineering
360 Tech Engineering
Jun 16, 2020 · Fundamentals

Delaunay Triangulation: Definition, Properties, and Divide‑and‑Conquer Algorithm Implementation in TypeScript

This article explains the Delaunay triangulation concept, its geometric properties such as empty circumcircles and maximal minimum angles, and presents a detailed divide‑and‑conquer algorithm with step‑by‑step merging logic and a complete TypeScript code implementation.

AlgorithmDelaunay triangulationDivide and Conquer
0 likes · 10 min read
Delaunay Triangulation: Definition, Properties, and Divide‑and‑Conquer Algorithm Implementation in TypeScript
Alibaba Cloud Developer
Alibaba Cloud Developer
Jun 11, 2020 · Artificial Intelligence

How to Maximize Video Views with a Multi‑Objective Exposure Optimization Model

This article presents a data‑driven approach for allocating limited video exposure resources by building a PV‑click‑CTR (P2C) sensitivity model and a multi‑objective optimization framework that balances overall view volume and fairness across scenes, validated through offline metrics and online bucket tests.

AlgorithmBig Dataexposure optimization
0 likes · 9 min read
How to Maximize Video Views with a Multi‑Objective Exposure Optimization Model
Python Programming Learning Circle
Python Programming Learning Circle
Jun 10, 2020 · Fundamentals

Interview Coding Questions: List Index Extraction, Tree Path Construction, and Minimum Path Sum Solutions

The article recounts three technical interview problems—a list‑index extraction using a hash map, a tree‑path reconstruction from parent identifiers, and a minimum‑path‑sum dynamic‑programming challenge—providing Python code solutions and brief explanations for each.

AlgorithmPythondynamic programming
0 likes · 5 min read
Interview Coding Questions: List Index Extraction, Tree Path Construction, and Minimum Path Sum Solutions
DataFunTalk
DataFunTalk
May 31, 2020 · Big Data

Adaptive Grouping Method for Improving AB Test Allocation Uniformity in Didi's Experiment Platform

This article introduces Didi's adaptive grouping algorithm, which enhances the uniformity of user allocation in AB experiments by replacing traditional complete randomization with a single-pass method that balances observed metrics across groups, and demonstrates its effectiveness through large‑scale experimental results.

AB testingAlgorithmDidi
0 likes · 11 min read
Adaptive Grouping Method for Improving AB Test Allocation Uniformity in Didi's Experiment Platform
Didi Tech
Didi Tech
May 28, 2020 · Artificial Intelligence

Adaptive Grouping Method for AB Testing in Didi’s Experiment Platform

Didi’s AI Lab introduces an Adaptive grouping algorithm for its Apollo AB‑testing platform that allocates users in a single pass using direct and indirect scores, achieving over 95 % balance probability and reducing group imbalance from 14 % (CR) and 2.7 % (RR) to under 0.8 %.

AB testingAlgorithmadaptive grouping
0 likes · 11 min read
Adaptive Grouping Method for AB Testing in Didi’s Experiment Platform
Python Programming Learning Circle
Python Programming Learning Circle
May 27, 2020 · Fundamentals

Solving the 24‑Point Game with Python: Two Algorithmic Approaches

This article explains how to determine whether any four playing cards can be combined using addition, subtraction, multiplication, and division (with parentheses) to reach 24, presenting two Python implementations—an exhaustive enumeration method and a more efficient recursive combination technique—along with performance comparisons.

24-point gameAlgorithmEnumeration
0 likes · 8 min read
Solving the 24‑Point Game with Python: Two Algorithmic Approaches