Tagged articles

Algorithm

648 articles · Page 3 of 7
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 19, 2023 · Game Development

Match‑3 Game Development Tutorial with JavaScript and Cocos

This article provides a step‑by‑step tutorial on building a match‑3 (candy‑crush style) game, covering basic rules, core matching and removal algorithms in JavaScript, and a complete implementation in Cocos Creator with grid layout, touch handling, swap animation, piece falling, and refill logic.

AlgorithmCocosgame-development
0 likes · 27 min read
Match‑3 Game Development Tutorial with JavaScript and Cocos
Nullbody Notes
Nullbody Notes
Nov 19, 2023 · Interview Experience

How to Find the Kth Largest Element in an Array Using QuickSort

This article explains how to locate the kth largest element in an array by leveraging quicksort partitioning, showing that the target index equals len(nums)‑k and iteratively narrowing the search range until the element is found, with a complete Go implementation.

AlgorithmArraygolang
0 likes · 4 min read
How to Find the Kth Largest Element in an Array Using QuickSort
Nullbody Notes
Nullbody Notes
Nov 17, 2023 · Fundamentals

How to Decode Nested Strings Using a Stack in Go

This article explains how to decode nested strings formatted as k[encoded_string] by using a stack to record repetition counts and substrings, detailing the push/pop logic with examples like 2[a3[b]] and 3[a]2[bc] and providing a complete Go implementation.

AlgorithmGonested strings
0 likes · 5 min read
How to Decode Nested Strings Using a Stack in Go
Nullbody Notes
Nullbody Notes
Nov 16, 2023 · Interview Experience

Reverse a Linked List in K-Node Groups – Go Solution for Interviews

This article explains how to reverse a singly‑linked list in groups of K nodes by locating each segment's head and tail, reversing the segment, and recursively processing the remainder, with a complete Go implementation and step‑by‑step reasoning.

AlgorithmInterviewLinked List
0 likes · 4 min read
Reverse a Linked List in K-Node Groups – Go Solution for Interviews
Nullbody Notes
Nullbody Notes
Nov 15, 2023 · Fundamentals

Binary Search Solution for LeetCode 162: Find Peak Element

This article explains how to solve LeetCode problem 162 (Find Peak Element) in O(log n) time using a binary‑search approach, detailing the three possible cases, providing pseudocode, and presenting a complete Go implementation that handles boundary conditions as negative infinity.

AlgorithmGoLeetCode
0 likes · 4 min read
Binary Search Solution for LeetCode 162: Find Peak Element
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Nov 12, 2023 · Fundamentals

How to Compute the Shortest Distance on a Circular Road Efficiently

Given a circular road with n stations and the distances between each consecutive pair, this article explains how to determine the minimal travel distance between any two stations by evaluating both clockwise and counter‑clockwise routes, providing problem details, examples, solution logic, reference implementations in Python, Java, and C++, and complexity analysis.

AlgorithmArraySimulation
0 likes · 8 min read
How to Compute the Shortest Distance on a Circular Road Efficiently
Nullbody Notes
Nullbody Notes
Nov 11, 2023 · Fundamentals

How to Solve LeetCode 53: Maximum Subarray Sum with Dynamic Programming

The article explains a dynamic‑programming approach to the classic “Maximum Subarray Sum” problem, defining dp[i] as the best sum ending at index i, deriving the recurrence dp[i]=max(dp[i‑1]+nums[i], nums[i]), initializing base cases, and providing complete Go code.

AlgorithmGoLeetCode
0 likes · 4 min read
How to Solve LeetCode 53: Maximum Subarray Sum with Dynamic Programming
Nullbody Notes
Nullbody Notes
Nov 9, 2023 · Interview Experience

Validating Stack Sequences in Go: A Simple Microsoft Interview Solution

The article explains how to determine whether a given push sequence and pop sequence form a valid stack operation by using a temporary Go slice as a stack, iterating through the push list, and repeatedly popping while the top matches the next pop element, finally returning a boolean result.

AlgorithmGoInterview
0 likes · 3 min read
Validating Stack Sequences in Go: A Simple Microsoft Interview Solution
IT Services Circle
IT Services Circle
Oct 29, 2023 · Fundamentals

Maximum Sum Submatrix – Solution Using 2D Prefix Sum

This article explains the maximum‑sum submatrix problem, presents a brute‑force enumeration, introduces a 2‑dimensional prefix‑sum technique to compute submatrix sums in O(1), and provides a complete Python implementation with complexity analysis.

2D prefix sumAlgorithmOptimization
0 likes · 9 min read
Maximum Sum Submatrix – Solution Using 2D Prefix Sum
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Oct 22, 2023 · Fundamentals

Merge Multiple Sorted Linked Lists Efficiently with a Min‑Heap

This article explains how to merge multiple sorted linked lists (or arrays) into a single ascending list using a min‑heap priority queue, presents two Python solutions—one converting arrays to linked lists and another operating directly on arrays—along with detailed code, example, and complexity analysis.

AlgorithmLinked Listk-way merge
0 likes · 9 min read
Merge Multiple Sorted Linked Lists Efficiently with a Min‑Heap
Su San Talks Tech
Su San Talks Tech
Oct 22, 2023 · Backend Development

Mastering Rate Limiting: Algorithms, Scenarios, and Practical Implementations

Rate limiting controls request flow to protect system stability, covering its definition, motivations, common algorithms such as token bucket, leaky bucket, fixed and sliding windows, their pros and cons, single‑machine vs distributed implementations, and practical component choices for backend services.

Algorithmbackenddistributed systems
0 likes · 17 min read
Mastering Rate Limiting: Algorithms, Scenarios, and Practical Implementations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 11, 2023 · Fundamentals

Exploring Diff Algorithms: Shortest Edit Distance, Longest Common Subsequence, and Myers Algorithm with TypeScript Implementations

This article investigates how diff tools work by presenting three algorithmic approaches—shortest edit distance, longest common subsequence, and the Myers algorithm—each explained with dynamic‑programming concepts, back‑tracing techniques, and complete TypeScript code examples.

Algorithmdiffedit distance
0 likes · 14 min read
Exploring Diff Algorithms: Shortest Edit Distance, Longest Common Subsequence, and Myers Algorithm with TypeScript Implementations
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Oct 6, 2023 · Interview Experience

Maximum Coloring of a 01 String – DP and Greedy Solutions Explained

Given a binary string, you may color some '1's red and some '0's blue but adjacent opposite bits cannot both be colored; this article presents O(N) dynamic‑programming and greedy algorithms that compute the maximum number of characters that can be colored, with full code examples in Python, Java, and C++.

Algorithmbinary stringcoding interview
0 likes · 9 min read
Maximum Coloring of a 01 String – DP and Greedy Solutions Explained
Qunar Tech Salon
Qunar Tech Salon
Sep 28, 2023 · Operations

Automated Root Cause Analysis for Flight Ticket Transaction Interception at Qunar: Design, Algorithm, and Performance Optimizations

This article describes how Qunar implemented an automated root‑cause analysis system for flight‑ticket transaction interception, detailing the problem background, system research, a custom algorithm focusing on explanatory power, performance optimizations that reduced analysis time from five minutes to under ten seconds, and the resulting operational improvements.

AlgorithmOperationsroot-cause analysis
0 likes · 13 min read
Automated Root Cause Analysis for Flight Ticket Transaction Interception at Qunar: Design, Algorithm, and Performance Optimizations
php Courses
php Courses
Sep 4, 2023 · Fundamentals

Binary Search: Explanation and PHP Implementations

Binary search is an efficient O(log n) algorithm for locating a target value in a sorted array, and this article explains its step-by-step process, provides iterative and recursive PHP code examples, and discusses their usage and performance considerations.

AlgorithmO(log n)PHP
0 likes · 6 min read
Binary Search: Explanation and PHP Implementations
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Aug 30, 2023 · Fundamentals

Greedy Merchant: Maximize Multi‑Product Profit in Limited Days

This article explains a coding problem where a merchant trades multiple goods over several days, describes the input and output formats, demonstrates how each product can be handled independently using a greedy approach identical to LeetCode 122, provides a full Python implementation, and analyzes its time and space complexity.

Algorithmcoding interviewdynamic programming
0 likes · 8 min read
Greedy Merchant: Maximize Multi‑Product Profit in Limited Days
政采云技术
政采云技术
Aug 30, 2023 · Frontend Development

Front‑End Graph Visualization with AntV G6 and Graphin: Concepts, Data Structures, Algorithms, and Custom Development

This article introduces front‑end graph visualization using AntV G6 and Graphin, explains graph models and JSON data structures, covers traversal, shortest‑path and clustering algorithms, compares G6 and Graphin, and provides detailed TypeScript and React code for custom extensions, event handling, and full‑screen support.

AlgorithmAntVFrontend
0 likes · 15 min read
Front‑End Graph Visualization with AntV G6 and Graphin: Concepts, Data Structures, Algorithms, and Custom Development
Python Programming Learning Circle
Python Programming Learning Circle
Aug 29, 2023 · Game Development

Python Game Assistant Script for 4399 Pet Matching Classic 2

This tutorial explains how to build a Python script that captures the 4399 mini‑game window, splits the screenshot into icons, uses image hashing to identify matches, applies a path‑finding algorithm to locate connectable pairs, and simulates mouse clicks to automatically clear the game board.

AlgorithmGame AutomationMouse Simulation
0 likes · 19 min read
Python Game Assistant Script for 4399 Pet Matching Classic 2
Bilibili Tech
Bilibili Tech
Aug 25, 2023 · Mobile Development

A Multi‑Layer Approach to Mobile Device Compatibility Test Design and Device Selection

The article proposes a six‑layer methodology for mobile compatibility testing that starts with hardware specs, adds market and roadmap insights, prioritizes high‑share and bug‑prone models, classifies performance tiers, accounts for special devices, aligns scenarios with key parameters, and uses an algorithm to group, rank, and flag representative devices for efficient testing.

AlgorithmMobile Testingdevice compatibility
0 likes · 11 min read
A Multi‑Layer Approach to Mobile Device Compatibility Test Design and Device Selection
JD Retail Technology
JD Retail Technology
Aug 15, 2023 · Artificial Intelligence

Design and Implementation of a Recommendation Algorithm PaaS for Scalable Business Scenarios

This document describes the background, design, capability classification, implementation details, case studies, practical experience, and future outlook of a recommendation‑algorithm Platform‑as‑a‑Service (PaaS) that enables reusable, extensible, and configurable recommendation capabilities across dozens of business lines.

AlgorithmPaaSPlatform
0 likes · 18 min read
Design and Implementation of a Recommendation Algorithm PaaS for Scalable Business Scenarios
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Aug 14, 2023 · Fundamentals

Compute Minimum Integration Test Time for Dependent Microservices with Topological Sort

This article explains how to determine the shortest waiting time required to perform integration testing on a specific microservice when services have startup dependencies and individual load times, using a BFS‑based topological sort algorithm with a detailed Python implementation and complexity analysis.

AlgorithmBFSMicroservices
0 likes · 10 min read
Compute Minimum Integration Test Time for Dependent Microservices with Topological Sort
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Aug 13, 2023 · Fundamentals

Multi-Source BFS Solution for the 2023Q2B Mars Terraforming Challenge

The article presents a grid‑based Mars terraforming problem where cells are marked YES, NO, or NA, and asks to determine the minimum number of solar days needed to convert all convertible (NO) cells to habitable (YES) using a multi‑source BFS approach, returning –1 if impossible, with full Python implementation and complexity analysis.

AlgorithmBFSGrid
0 likes · 8 min read
Multi-Source BFS Solution for the 2023Q2B Mars Terraforming Challenge
DataFunSummit
DataFunSummit
Aug 12, 2023 · Information Security

Design and Exploration of Mobile Game Anti‑Fraud Systems

This article examines the mobile game black‑market ecosystem, outlines common fraud patterns such as script cheats, account trading, and illegal recharge, and presents a comprehensive anti‑fraud architecture that combines real‑time risk assessment, offline analysis, and adaptive mitigation strategies for game developers and operators.

AlgorithmGame SecurityMobile Gaming
0 likes · 21 min read
Design and Exploration of Mobile Game Anti‑Fraud Systems
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Aug 9, 2023 · Interview Experience

Compute the Longest Broadcast Response Time with BFS

This article explains a graph‑based interview problem where, given an undirected network of N nodes and their connections, you must determine the minimum time for a broadcast node to receive all responses, and provides a full Python BFS solution with complexity analysis.

AlgorithmBFSGraph
0 likes · 6 min read
Compute the Longest Broadcast Response Time with BFS
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Aug 8, 2023 · Interview Experience

Unlock the Golden Treasure Box: Algorithmic Solutions for Interview Questions

This article presents three interview‑style algorithm problems—a golden treasure‑box search, an inequality‑set validator with maximum‑difference calculation, and a smallest‑number‑after‑removing‑digits task—each with clear problem statements, constraints, step‑by‑step simulation logic, and full Python code implementations.

AlgorithmData StructuresPython
0 likes · 10 min read
Unlock the Golden Treasure Box: Algorithmic Solutions for Interview Questions
Architect's Tech Stack
Architect's Tech Stack
Aug 3, 2023 · Fundamentals

Performance Comparison of Different Java List Deduplication Methods

This article examines several Java deduplication techniques—including List.contains, HashSet, double-loop removal, and Stream.distinct—by providing sample code, measuring execution time on a 20,000‑element list, and analyzing their time complexities to guide developers toward efficient duplicate‑removal strategies.

AlgorithmCollectionsHashSet
0 likes · 7 min read
Performance Comparison of Different Java List Deduplication Methods
vivo Internet Technology
vivo Internet Technology
Jul 5, 2023 · Databases

Implementation of Redis LRU and LFU Cache Eviction Algorithms

Redis implements approximate LRU and LFU eviction policies by sampling keys and using a compact 24‑bit field to store timestamps and counters, where LRU evicts the least recently accessed items and LFU evicts those with low, decay‑adjusted access frequency, each with trade‑offs for different workloads.

AlgorithmCache EvictionLFU
0 likes · 13 min read
Implementation of Redis LRU and LFU Cache Eviction Algorithms
DeWu Technology
DeWu Technology
Jun 9, 2023 · Artificial Intelligence

Qianchuan Unified Recommendation Framework: Architecture, Challenges, and Algorithmic Solutions

Qianchuan is a unified recommendation platform that consolidates numerous low‑traffic, diverse scenarios into a five‑layer architecture—service, access, DPP, algorithm, and infrastructure—addressing challenges of varying products, goals, strategies, recommendation types, and limited resources through flexible product selection, multi‑goal support, advanced recall and ranking models, and extensible, low‑cost algorithms, while planning broader scene coverage, bias reduction, and componentized, reproducible solutions.

AlgorithmRankingmulti-scene
0 likes · 12 min read
Qianchuan Unified Recommendation Framework: Architecture, Challenges, and Algorithmic Solutions
Python Crawling & Data Mining
Python Crawling & Data Mining
Jun 8, 2023 · Fundamentals

Multiple Ways to Find the Longest String in a Python List

This article demonstrates several straightforward Python techniques for retrieving the longest string from a list, including a manual loop, the built‑in max function, sorted usage, and an additional variant, each accompanied by clear code examples and explanations.

AlgorithmTutorialcode examples
0 likes · 4 min read
Multiple Ways to Find the Longest String in a Python List
Didi Tech
Didi Tech
May 23, 2023 · Artificial Intelligence

Driver‑Passenger Matching in Didi’s Ride‑Hailing Market: Algorithms and Techniques

The article surveys Didi’s driver‑passenger matching challenges and presents a suite of solutions—from greedy nearest‑driver and Kuhn‑Munkres bipartite matching to stable marriage, dynamic and one‑to‑many assignments, reinforcement‑learning, routing and queueing models—while validating assumptions statistically, integrating preference‑aware machine learning, and outlining multi‑objective and digital‑twin future research.

AlgorithmOptimizationRide Hailing
0 likes · 23 min read
Driver‑Passenger Matching in Didi’s Ride‑Hailing Market: Algorithms and Techniques
DaTaobao Tech
DaTaobao Tech
May 10, 2023 · Mobile Development

Multi-Code Scanning Framework and Optimization for Mobile Apps

The article details how a mobile app’s scanner was re‑engineered from single‑code to multi‑code detection by overhauling the logic pipeline, adding UI overlays, implementing a rotation‑and‑scale transformation algorithm, integrating iOS Vision alongside the existing SDK, applying confidence filtering, deduplication, edge‑intelligence prediction, and memory‑optimized caching, ultimately boosting recognition rates by over 30 percentage points and reducing miss‑detections.

AlgorithmBarcode ScanningOptimization
0 likes · 11 min read
Multi-Code Scanning Framework and Optimization for Mobile Apps
Ctrip Technology
Ctrip Technology
Apr 20, 2023 · Backend Development

Performance Optimization of Multi‑Modal Transfer Route Stitching in Ctrip Backend

This article analyzes the challenges of stitching multi‑modal transport routes in Ctrip's backend, identifies performance bottlenecks through monitoring, profiling and benchmarking, and presents a series of optimizations—including code refactoring, indexing, multi‑way merge, multi‑level caching, preprocessing, multithreading, lazy computation, and JVM tuning—that collectively reduce latency and resource consumption.

Algorithmbackendcaching
0 likes · 17 min read
Performance Optimization of Multi‑Modal Transfer Route Stitching in Ctrip Backend
MaGe Linux Operations
MaGe Linux Operations
Mar 31, 2023 · Backend Development

Mastering Rate Limiting: Leaky Bucket, Token Bucket, and Sliding Window in Go

This article explains three core rate‑limiting algorithms—Leaky Bucket, Token Bucket, and Sliding Window—detailing their principles, suitable scenarios, and provides complete Go implementations to help developers choose and integrate the right strategy for handling traffic spikes and protecting backend resources.

AlgorithmSliding Windowbackend
0 likes · 15 min read
Mastering Rate Limiting: Leaky Bucket, Token Bucket, and Sliding Window in Go
Efficient Ops
Efficient Ops
Mar 15, 2023 · Operations

How Human‑Machine Collaboration Is Redefining Operations with AIOps

The article explores how AIOps, a human‑machine collaborative approach powered by data, algorithms, and contextual knowledge, transforms modern operations by enabling real‑time insight, predictive decision‑making, automated execution, and continuous feedback, especially in complex, security‑sensitive environments like finance.

AIOpsAlgorithmOperations
0 likes · 11 min read
How Human‑Machine Collaboration Is Redefining Operations with AIOps
21CTO
21CTO
Mar 12, 2023 · Backend Development

Why Elon Musk’s Promise to Open‑Source Twitter’s Algorithm Fell Flat

Elon Musk repeatedly pledged to open‑source Twitter’s recommendation algorithm, yet after massive layoffs and the loss of key engineers, the promised code remains hidden, illustrating how managerial decisions can cripple open‑source initiatives and impact platform trust and performance.

AlgorithmElon MuskSoftware Engineering
0 likes · 6 min read
Why Elon Musk’s Promise to Open‑Source Twitter’s Algorithm Fell Flat
Model Perspective
Model Perspective
Mar 10, 2023 · Fundamentals

Unlocking the Shoelace Theorem: Fast Polygon Area Calculation Explained

This article explores the “push‑step aggregation” technique featured in the drama “Microscope under the Ming,” revealing that it is essentially the Shoelace Theorem for quickly computing polygon areas, complete with mathematical derivation, visual illustrations, and a Python implementation.

AlgorithmPythonShoelace theorem
0 likes · 8 min read
Unlocking the Shoelace Theorem: Fast Polygon Area Calculation Explained
Model Perspective
Model Perspective
Mar 8, 2023 · Fundamentals

Dynamic Programming Demystified: Python Knapsack & Shortest Path

This article introduces the core concepts of dynamic programming, explains its principles of breaking problems into subproblems with optimal substructure, and provides step‑by‑step Python implementations for the classic knapsack optimization and a shortest‑path graph algorithm, complete with illustrative code and visualizations.

Algorithmdynamic programmingknapsack
0 likes · 10 min read
Dynamic Programming Demystified: Python Knapsack & Shortest Path
Shepherd Advanced Notes
Shepherd Advanced Notes
Mar 1, 2023 · Fundamentals

Understanding Linked Lists: Storage, Structures, and Two-Pointer Techniques

This article introduces linked lists as a fundamental data structure, compares them with arrays, explains single, doubly, and circular variants, demonstrates insertion, deletion, and boundary handling with dummy nodes, and details two‑pointer techniques for cycle detection and finding the list’s midpoint.

AlgorithmData StructuresLinked List
0 likes · 15 min read
Understanding Linked Lists: Storage, Structures, and Two-Pointer Techniques
21CTO
21CTO
Feb 23, 2023 · Artificial Intelligence

Will Elon Musk Really Open‑Source Twitter’s Algorithm Next Week?

Elon Musk announced that Twitter’s recommendation algorithm will be open‑sourced as early as next week, citing transparency and bias reduction, while experts debate the feasibility and potential impact on AI standards, and the tech community shares humorous code snippets mocking the move.

AlgorithmArtificial IntelligenceElon Musk
0 likes · 4 min read
Will Elon Musk Really Open‑Source Twitter’s Algorithm Next Week?
Architect's Guide
Architect's Guide
Feb 23, 2023 · Information Security

How to Perform Fuzzy Queries on Encrypted Data: Methods, Pros and Cons

This article examines the challenges of fuzzy searching encrypted data and presents three categories of solutions—silly, conventional, and advanced—detailing their implementation ideas, performance trade‑offs, storage costs, and practical recommendations for secure yet searchable data.

Algorithmdata security
0 likes · 12 min read
How to Perform Fuzzy Queries on Encrypted Data: Methods, Pros and Cons
DataFunTalk
DataFunTalk
Feb 16, 2023 · Artificial Intelligence

Differences Between Advertising Algorithms and Recommendation Algorithms

This article compares advertising and recommendation algorithms, highlighting distinct optimization goals, model design focuses, training methods, implementation principles, auxiliary strategies, and model characteristics, emphasizing how ads aim to increase revenue while recommendations prioritize user engagement and diversity.

AdvertisingAlgorithmCTR
0 likes · 5 min read
Differences Between Advertising Algorithms and Recommendation Algorithms
JD Cloud Developers
JD Cloud Developers
Feb 3, 2023 · Fundamentals

Unlocking the Secrets of Skip Lists: Theory, Implementation, and Performance Analysis

This article provides a comprehensive, formal introduction to skip lists, covering their probabilistic foundations, structural design, detailed C implementations for creation, search, insertion, deletion, random level generation, space and time complexity analyses, and extensions such as fast random access and span maintenance.

AlgorithmComplexity AnalysisSkip List
0 likes · 22 min read
Unlocking the Secrets of Skip Lists: Theory, Implementation, and Performance Analysis
JavaEdge
JavaEdge
Jan 22, 2023 · Fundamentals

Designing a High‑Performance Sorting Function: Algorithms and Optimizations

This article examines how high‑performance sorting functions such as C's qsort() and Java's Collections.sort() are implemented, compares suitable algorithms, analyzes merge sort versus quicksort, and presents practical optimizations like median‑of‑three pivots, random pivots, recursion depth limits, and hybrid insertion sort.

AlgorithmC++merge sort
0 likes · 7 min read
Designing a High‑Performance Sorting Function: Algorithms and Optimizations
dbaplus Community
dbaplus Community
Jan 14, 2023 · Backend Development

How to Minimize Data Movement When Scaling Kafka Replicas

This article explores strategies for batch scaling Kafka replicas with minimal data migration, presenting two design ideas, detailed calculations of broker lists, partition counts, start indexes, and replica shifts, and provides step‑by‑step algorithms and code snippets to compute optimal replica assignments for both expansion and contraction scenarios.

AlgorithmKafkaPartition Assignment
0 likes · 15 min read
How to Minimize Data Movement When Scaling Kafka Replicas
DaTaobao Tech
DaTaobao Tech
Jan 9, 2023 · Artificial Intelligence

Adaptive and Self-Supervised Multi-Scenario Modeling for Taobao Personalized Recommendation

On January 9 from 19:00 to 20:00, algorithm engineer Zhang Yuanliang will present Taobao’s scenario-adaptive, self-supervised multi-scenario recommendation model, detailing its architecture, experimental results, and practical deployment for improving personalized item recall across diverse user contexts.

Algorithmmulti-scenariopersonalization
0 likes · 1 min read
Adaptive and Self-Supervised Multi-Scenario Modeling for Taobao Personalized Recommendation
Tencent Cloud Developer
Tencent Cloud Developer
Dec 30, 2022 · Backend Development

Implementation and Optimization of Generic Skip List in Go (stl4go)

stl4go provides a generic Go 1.18 container library that implements an optimized skip‑list‑based ordered map, using adaptive levels, efficient random‑level generation, type‑specific paths, and cache‑friendly node structures to achieve near‑C++ performance, surpassing existing Go generic collections.

AlgorithmData StructureGo
0 likes · 18 min read
Implementation and Optimization of Generic Skip List in Go (stl4go)
Java High-Performance Architecture
Java High-Performance Architecture
Dec 12, 2022 · Backend Development

Java Rate Limiting: Fixed, Sliding, Leaky & Token Bucket Algorithms Explained

This article introduces the concept of rate limiting, explains three core algorithms—fixed window, sliding window, and leaky bucket—along with the token bucket approach, provides Java code examples for each, discusses their principles, advantages, and pitfalls, and outlines practical implementation considerations.

Algorithmbackenddistributed systems
0 likes · 15 min read
Java Rate Limiting: Fixed, Sliding, Leaky & Token Bucket Algorithms Explained
Architect's Guide
Architect's Guide
Nov 30, 2022 · Information Security

How to Perform Fuzzy Queries on Encrypted Data

This article reviews why reversible encryption is needed for certain sensitive fields, classifies three categories of fuzzy‑search‑on‑encrypted‑data techniques—naïve, conventional, and advanced—and evaluates their implementation steps, performance trade‑offs, and practical recommendations.

AESAlgorithmDatabase
0 likes · 11 min read
How to Perform Fuzzy Queries on Encrypted Data
Selected Java Interview Questions
Selected Java Interview Questions
Nov 15, 2022 · Backend Development

Comprehensive Guide to Rate Limiting: Concepts, Algorithms, and Implementation Strategies

This article explains the fundamental concepts of rate limiting, compares common algorithms such as token bucket, leaky bucket and sliding window, and details practical implementations using Nginx, Tomcat, Redis, Guava, and Sentinel for both single‑node and distributed backend systems.

Algorithmdistributed systemsrate limiting
0 likes · 17 min read
Comprehensive Guide to Rate Limiting: Concepts, Algorithms, and Implementation Strategies
Coolpad Technology Team
Coolpad Technology Team
Nov 11, 2022 · Frontend Development

Quantitative Color Extraction and Optimization for UI Design

This article presents a scientific color adaptation solution that uses a quantization algorithm to extract dominant image colors, refines them via HSB adjustments, validates against WCAG contrast standards, and demonstrates practical deployment in app store and game center interfaces.

AlgorithmAndroid PaletteHSB
0 likes · 8 min read
Quantitative Color Extraction and Optimization for UI Design
Model Perspective
Model Perspective
Nov 8, 2022 · Artificial Intelligence

Mastering K-Means: How Distance-Based Clustering Works and How to Implement It

This article explains the fundamentals of the K-means clustering algorithm, describing its distance‑based similarity principle, the objective of minimizing squared error, and a step‑by‑step iterative procedure—including random centroid initialization, assignment, centroid recomputation, and convergence criteria.

AlgorithmClusteringUnsupervised Learning
0 likes · 3 min read
Mastering K-Means: How Distance-Based Clustering Works and How to Implement It
Model Perspective
Model Perspective
Nov 1, 2022 · Fundamentals

How Markov Chains Can Rank Sports Teams: A Simple Voting Model

This article explains a Markov‑based scoring method for ranking sports teams, treating each match as a vote where weaker teams award points to stronger ones, and shows how to construct a stochastic matrix, handle dangling nodes, compute the steady‑state vector, and derive final rankings, analogous to Google’s PageRank.

AlgorithmMarkov ChainsPageRank
0 likes · 8 min read
How Markov Chains Can Rank Sports Teams: A Simple Voting Model
Top Architect
Top Architect
Oct 16, 2022 · Backend Development

Common Load Balancing Algorithms and Their Java Implementations

This article provides a comprehensive overview of various load balancing strategies—including round‑robin, random, weighted, smooth weighted round‑robin, consistent hashing, least‑active, and optimal‑response algorithms—explaining their principles, advantages, disadvantages, use‑cases, and offering complete Java code examples for each.

AlgorithmLoad Balancingbackend
0 likes · 33 min read
Common Load Balancing Algorithms and Their Java Implementations
php Courses
php Courses
Oct 11, 2022 · Backend Development

Sensitive Word Detection Algorithm in PHP Using Multibyte String Traversal

This article explains how to build a tree‑based sensitive‑word detection algorithm in PHP, discusses the challenges of correctly iterating over multibyte strings, and provides a complete implementation with code examples that handle Unicode characters efficiently.

AlgorithmPHPString Traversal
0 likes · 6 min read
Sensitive Word Detection Algorithm in PHP Using Multibyte String Traversal
Top Architect
Top Architect
Sep 24, 2022 · Information Security

How to Perform Fuzzy Queries on Encrypted Data: Methods and Trade‑offs

This article examines the challenges of fuzzy searching encrypted data and compares three categories of solutions—naïve (sand‑wich), conventional, and advanced (super)—detailing their implementation ideas, performance implications, and suitability for real‑world applications.

AlgorithmDatabaseFuzzy Search
0 likes · 11 min read
How to Perform Fuzzy Queries on Encrypted Data: Methods and Trade‑offs
Tencent Advertising Technology
Tencent Advertising Technology
Sep 23, 2022 · Industry Insights

How Tencent Ads’ CONFLUX and MVKE Algorithms Boost Conversion – Insights from KDD2022

Tencent Ads hosted two KDD2022‑focused live sessions showcasing the CONFLUX and MVKE algorithms, explaining their technical foundations, real‑world impact on billions of ad impressions, and answering audience questions about brand versus performance ads, validation methods, and future research directions.

AlgorithmConversion OptimizationIndustry Insights
0 likes · 6 min read
How Tencent Ads’ CONFLUX and MVKE Algorithms Boost Conversion – Insights from KDD2022
Su San Talks Tech
Su San Talks Tech
Sep 20, 2022 · Game Development

How I Built a Solvable ‘Sheep’ Puzzle Game and Open‑sourced It

The author explains how the viral “Sheep Sheep” puzzle’s random mechanics make it nearly impossible to clear, then details the creation of a clone called “Fish Fish” with customizable difficulty, open‑source code, and the core implementation techniques used.

AlgorithmFrontendGame Development
0 likes · 5 min read
How I Built a Solvable ‘Sheep’ Puzzle Game and Open‑sourced It
Java High-Performance Architecture
Java High-Performance Architecture
Sep 13, 2022 · Information Security

How to Perform Fuzzy Searches on Encrypted Data: Strategies and Trade‑offs

This article examines why encrypted data hinders fuzzy queries, categorizes three implementation approaches—from naive in‑memory decryption to conventional database tricks and advanced algorithmic solutions—evaluates their security, performance, and storage impacts, and provides practical references for real‑world systems.

AlgorithmDatabaseFuzzy Search
0 likes · 11 min read
How to Perform Fuzzy Searches on Encrypted Data: Strategies and Trade‑offs
Tencent Cloud Developer
Tencent Cloud Developer
Sep 6, 2022 · Backend Development

Understanding Rate Limiting in Distributed Systems: Algorithms and Best Practices

Rate limiting safeguards distributed systems by controlling request rates through algorithms such as leaky bucket, token bucket, fixed and sliding windows, and back pressure, while client‑side tactics like exponential backoff, jitter, and careful retries, and requires atomic distributed storage solutions (e.g., Redis+Lua) to avoid race conditions.

AlgorithmSystem Designback pressure
0 likes · 16 min read
Understanding Rate Limiting in Distributed Systems: Algorithms and Best Practices
DaTaobao Tech
DaTaobao Tech
Sep 5, 2022 · Artificial Intelligence

How Alibaba’s New Guide Boosts Live‑Stream Video Quality for Every Creator

Alibaba’s DaTaobao team unveiled a high‑definition live‑streaming guide that combines video processing algorithms, equipment recommendations, and standardized low‑cost solutions to dramatically improve picture quality for both top‑tier and novice streamers, while also offering free access and ongoing support.

AIAlgorithmAlibaba
0 likes · 8 min read
How Alibaba’s New Guide Boosts Live‑Stream Video Quality for Every Creator
Hulu Beijing
Hulu Beijing
Aug 31, 2022 · Fundamentals

Algorithm Trio: Pattern Search, Tree Leaf Count, and Bounded Stock Trading

This article presents three algorithmic challenges: counting pattern occurrences on an M×N canvas, determining the number of leaf nodes in a binary tree represented by an array, and maximizing stock trade profit under constraints on negative returns and total gain, each with input specifications, sample cases, and solution outlines.

AlgorithmPattern Matchingbinary tree
0 likes · 8 min read
Algorithm Trio: Pattern Search, Tree Leaf Count, and Bounded Stock Trading
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
Aug 31, 2022 · Fundamentals

Why My Simple Go Map Solution Timed Out and How I Fixed It

After struggling with a seemingly easy scoring problem in a regional programming contest, the author details multiple Go implementations—including a map, a 27‑base array, and a trie—examines their time and memory issues, discovers input handling pitfalls, and ultimately achieves an accepted solution.

AlgorithmTriecompetitive programming
0 likes · 14 min read
Why My Simple Go Map Solution Timed Out and How I Fixed It
Model Perspective
Model Perspective
Aug 30, 2022 · Artificial Intelligence

Particle Swarm Optimization in Python: Full Implementation and Results

This article explains the core PSO velocity and position formulas, provides a complete Python implementation with detailed comments, runs the algorithm on a 2‑dimensional test function, and presents the optimal solution and convergence plot.

AlgorithmArtificial IntelligenceParticle Swarm Optimization
0 likes · 5 min read
Particle Swarm Optimization in Python: Full Implementation and Results
Java Backend Technology
Java Backend Technology
Aug 25, 2022 · Information Security

How to Perform Fuzzy Searches on Encrypted Data: Methods, Pros & Cons

This article examines why encrypted data hinders fuzzy queries, categorizes three implementation strategies—from naïve to conventional to advanced—explains their mechanisms, evaluates performance and security trade‑offs, and provides practical references for building searchable encrypted fields.

AlgorithmFuzzy Searchdata privacy
0 likes · 12 min read
How to Perform Fuzzy Searches on Encrypted Data: Methods, Pros & Cons
IT Architects Alliance
IT Architects Alliance
Aug 21, 2022 · Backend Development

Consistent Hashing Algorithm: Principles, Java Implementation, and Optimizations for Distributed Cache Load Balancing

This article explains the fundamentals of consistent hashing, its application in load‑balancing distributed caches, analyzes common issues such as data skew and cache avalanche, introduces virtual nodes for uniform distribution, provides Java code examples, and compares it with Redis's HashSlot approach.

Algorithmconsistent hashingdistributed cache
0 likes · 20 min read
Consistent Hashing Algorithm: Principles, Java Implementation, and Optimizations for Distributed Cache Load Balancing