Tagged articles

algorithm

659 articles · Page 3 of 7
政采云技术
政采云技术
Dec 28, 2023 · Fundamentals

Queue and Stack Concepts, Implementations, and Applications in Java

This article explains the definitions, characteristics, and overflow cases of sequential and circular queues and stacks, provides Java implementations for these data structures, demonstrates their usage with sample code and results, and discusses practical applications of queue thinking in database-driven workflows.

Queuealgorithmcircular queue
0 likes · 13 min read
Queue and Stack Concepts, Implementations, and Applications in Java
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 21, 2023 · Backend Development

Mastering Rate Limiting: Algorithms, Java Implementations, and Guava Tips

This article explains why rate limiting is essential for high‑traffic systems, defines common rate‑limiting algorithms (fixed window, sliding window, leaky bucket, token bucket), provides complete Java code examples for each, and demonstrates practical usage with Guava's RateLimiter in real‑world applications.

BackendGuavaalgorithm
0 likes · 19 min read
Mastering Rate Limiting: Algorithms, Java Implementations, and Guava Tips
Nullbody Notes
Nullbody Notes
Nov 26, 2023 · Fundamentals

Binary Tree Right Side View Using Level‑Order Traversal in Go

The article explains how to obtain the rightmost node values at each depth of a binary tree by performing a level‑order (BFS) traversal, and provides a complete Go implementation that records the last node of every level as the right‑side view.

BFSGoalgorithm
0 likes · 4 min read
Binary Tree Right Side View Using Level‑Order Traversal in Go
Python Programming Learning Circle
Python Programming Learning Circle
Nov 24, 2023 · Game Development

Implementing the Chinese Card Game “Zha Jin Hua” (Three‑Card Poker) with Python

This article explains the rules of the popular Chinese card game Zha Jin Hua, demonstrates how to generate a standard deck, deal cards to multiple players, evaluate hand types, calculate scores with multipliers, run large‑scale simulations for frequency analysis, and provides the complete Python source code for the entire workflow.

Score CalculationSimulationZha Jin Hua
0 likes · 12 min read
Implementing the Chinese Card Game “Zha Jin Hua” (Three‑Card Poker) with Python
Nullbody Notes
Nullbody Notes
Nov 24, 2023 · Fundamentals

How to Solve the Coin Change Problem Using Dynamic Programming

This article explains the classic coin change problem, models it as a minimum‑coin DP task, derives the recurrence relation, shows how to initialize the DP array with a large sentinel value, and provides a complete Go implementation that returns the optimal count or -1 when impossible.

DP recurrenceGoalgorithm
0 likes · 5 min read
How to Solve the Coin Change Problem Using Dynamic Programming
Nullbody Notes
Nullbody Notes
Nov 23, 2023 · Fundamentals

How to Merge Overlapping Intervals in Go

This article explains how to merge overlapping intervals in Go by first sorting them by their start points and then iteratively combining adjacent intervals, with a complete code example and step‑by‑step reasoning.

Goalgorithmintervals
0 likes · 3 min read
How to Merge Overlapping Intervals in Go
Nullbody Notes
Nullbody Notes
Nov 22, 2023 · Fundamentals

How to Compare Version Numbers in Go – Interview Solution

This article explains the key steps for comparing dot‑separated version strings—ignoring leading zeros, handling different lengths, and performing left‑to‑right numeric comparison—accompanied by a complete Go implementation.

Goalgorithmstring parsing
0 likes · 3 min read
How to Compare Version Numbers in Go – Interview Solution
Nullbody Notes
Nullbody Notes
Nov 20, 2023 · Fundamentals

Counting Valid Triangles: Why Reverse Traversal Matters

The article explains how to count the number of valid triangles that can be formed from an integer array by first sorting the array and then using a reverse‑order two‑pointer technique, detailing each step and providing a complete Go implementation.

Two-pointeralgorithmsorting
0 likes · 3 min read
Counting Valid Triangles: Why Reverse Traversal Matters
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.

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

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

algorithminterviewk-group reversal
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.

GoLeetCodeO(log n)
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.

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

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

GoLeetCodealgorithm
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 sumOptimizationPython
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.

algorithmk-way mergelinked list
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.

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

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

O(log n)PHPRecursive
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.

AntVG6Graph Visualization
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.

Game AutomationMouse SimulationWin32 API
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.

algorithmdevice compatibilitydevice selection
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.

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

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

Game SecurityMobile Gamingalgorithm
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.

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

Data StructuresPythonSimulation
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.

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

Cache EvictionLFULRU
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.

algorithmmulti-sceneranking
0 likes · 12 min read
Qianchuan Unified Recommendation Framework: Architecture, Challenges, and Algorithmic Solutions
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.

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

Barcode ScanningMobile DevelopmentOptimization
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.

BackendCachingPerformance Optimization
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.

Backendalgorithmleaky-bucket
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.

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

Backend DevelopmentElon 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.

PythonShoelace theoremalgorithm
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.

Data StructuresTwo-pointeralgorithm
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.

Artificial IntelligenceElon MuskTwitter
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.

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

Complexity AnalysisSkip Listalgorithm
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.

C++Performancealgorithm
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.

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

GoGo 1.18Performance Optimization
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.

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

AESalgorithmdata security
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.

Android PaletteHSBUI design
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.

ClusteringUnsupervised Learningalgorithm
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.

Markov ChainsPageRankSports Ranking
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.

Backendalgorithmdistributed systems
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.

PHPString Traversalalgorithm
0 likes · 6 min read
Sensitive Word Detection Algorithm in PHP Using Multibyte String Traversal
DataFunTalk
DataFunTalk
Oct 11, 2022 · Artificial Intelligence

Search vs Recommendation vs Advertising: Concepts, Differences, and System Architectures

This article provides an overview of search, recommendation, and advertising as core internet services, comparing their problem definitions, business goals, algorithmic models, and system architectures across web, e‑commerce, and O2O scenarios, while outlining historical development and key industry examples.

AIAdvertisingInformation Retrieval
0 likes · 13 min read
Search vs Recommendation vs Advertising: Concepts, Differences, and System Architectures
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.

algorithmdata securitydatabase
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.

Advertising TechnologyConversion OptimizationKDD2022
0 likes · 6 min read
How Tencent Ads’ CONFLUX and MVKE Algorithms Boost Conversion – Insights from KDD2022