Tagged articles

algorithm

659 articles · Page 6 of 7
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.

KOLUser Acquisitionalgorithm
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.

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

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

Delaunay triangulationDivide and ConquerTypeScript
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.

Pythonalgorithmdynamic 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 TestingDidiadaptive grouping
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 Testingadaptive groupingalgorithm
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 gameEnumerationRecursive
0 likes · 8 min read
Solving the 24‑Point Game with Python: Two Algorithmic Approaches
Python Programming Learning Circle
Python Programming Learning Circle
May 9, 2020 · Fundamentals

Fish Division Puzzle and Classic Sorting Algorithms (Merge, Selection, Bubble) with Python Implementations

This article presents a combinatorial fish‑division puzzle solved by exhaustive search with Python code, followed by clear explanations and Python implementations of three fundamental sorting algorithms—merge sort, selection sort, and bubble sort—illustrating their core ideas and step‑by‑step processes.

Pythonalgorithmbubble sort
0 likes · 5 min read
Fish Division Puzzle and Classic Sorting Algorithms (Merge, Selection, Bubble) with Python Implementations
Python Programming Learning Circle
Python Programming Learning Circle
May 6, 2020 · Fundamentals

Python Performance Testing: Comparing Logical Operations, Built‑in Functions, and Class Implementations

This article examines Python execution speed by benchmarking simple arithmetic, logical checks, built‑in functions like max, and three class‑based point‑in‑rectangle implementations, revealing that straightforward if‑statements are often fastest while highlighting practical tips for writing performant Python code.

Pythonalgorithmbenchmarking
0 likes · 12 min read
Python Performance Testing: Comparing Logical Operations, Built‑in Functions, and Class Implementations
Laravel Tech Community
Laravel Tech Community
May 3, 2020 · Backend Development

PHP Implementation of WeChat Red Packet Splitting Algorithm

This article demonstrates a PHP class that implements the WeChat red packet splitting algorithm, explaining the constraints, providing a complete source code example, and showing how to instantiate the class to distribute a total amount into a specified number of packets with a minimum value.

BackendMoney SplittingPHP
0 likes · 6 min read
PHP Implementation of WeChat Red Packet Splitting Algorithm
Java Architecture Diary
Java Architecture Diary
May 2, 2020 · Backend Development

Mastering Snowflake: How Distributed Systems Generate Unique IDs

This article explores various distributed ID generation methods, focusing on Twitter's Snowflake algorithm, detailing its structure, advantages, drawbacks, and comparisons with UUID, database auto-increment, and Redis, while providing implementation insights and references to related open-source solutions.

Snowflakealgorithmdistributed-id
0 likes · 7 min read
Mastering Snowflake: How Distributed Systems Generate Unique IDs
vivo Internet Technology
vivo Internet Technology
Apr 22, 2020 · Fundamentals

Hash Table Collisions and Resolution Strategies

The article explains how limited hash spaces cause collisions, then compares open hashing (separate chaining) and closed hashing techniques—linear probing, double hashing, and random hashing—detailing their insertion, search, and deletion algorithms along with the performance trade‑offs and load‑factor analysis for each method.

algorithmcollision-resolutiondouble hashing
0 likes · 16 min read
Hash Table Collisions and Resolution Strategies
Python Programming Learning Circle
Python Programming Learning Circle
Apr 22, 2020 · Fundamentals

Implementing a Priority Queue in Python Using heapq

This article explains how to implement a priority queue in Python using the built‑in heapq module, demonstrates extracting smallest and largest elements from price lists, and provides a full PriorityQueue class with push, pop, and is_empty methods, illustrated with stock portfolio examples.

HeapqPythonalgorithm
0 likes · 6 min read
Implementing a Priority Queue in Python Using heapq
Sohu Tech Products
Sohu Tech Products
Apr 15, 2020 · Fundamentals

Optimized String Matching: Boyer‑Moore Algorithm with Bad‑Character and Good‑Suffix Rules

This article explains the Boyer‑Moore string‑matching algorithm, detailing how the bad‑character and good‑suffix heuristics dramatically reduce comparisons, and provides a complete Java implementation with step‑by‑step illustrations of each matching round and the underlying shift calculations.

Boyer-Moorealgorithmbad character rule
0 likes · 6 min read
Optimized String Matching: Boyer‑Moore Algorithm with Bad‑Character and Good‑Suffix Rules
Liangxu Linux
Liangxu Linux
Apr 14, 2020 · Fundamentals

Unlock Algorithm Mastery with the ‘Fucking Algorithm’ GitHub Repository

This article introduces the open‑source “Fucking Algorithm” project, a popular GitHub collection of over 60 LeetCode‑based articles that explain algorithm problems with detailed reasoning, aiming to improve developers' problem‑solving mindset and algorithmic thinking.

LeetCodealgorithmalgorithmic thinking
0 likes · 3 min read
Unlock Algorithm Mastery with the ‘Fucking Algorithm’ GitHub Repository
Sohu Tech Products
Sohu Tech Products
Apr 8, 2020 · Fundamentals

Brute‑Force and Simple Hash‑Based Substring Search (Rabin‑Karp) Explained with Examples

This article explains the brute‑force (BF) substring search algorithm, demonstrates its step‑by‑step operation with examples, then introduces a simple hash‑based sliding‑window method (a basic Rabin‑Karp approach), provides Java code, and shows how to compute and update hashes efficiently to locate a pattern in a main string.

Rabin-Karpalgorithmbrute-force
0 likes · 7 min read
Brute‑Force and Simple Hash‑Based Substring Search (Rabin‑Karp) Explained with Examples
JD Tech Talk
JD Tech Talk
Apr 8, 2020 · Artificial Intelligence

Designing and Evaluating Recommendation Algorithms for Wealth Management Platforms

This article explores how large wealth‑management platforms can model product recommendation as a mapping between customers and financial products, defines various evaluation goals such as transaction volume, revenue and user satisfaction, and outlines a systematic A/B‑testing workflow for comparing and optimizing recommendation algorithms.

A/B testingWealth Managementalgorithm
0 likes · 10 min read
Designing and Evaluating Recommendation Algorithms for Wealth Management Platforms
Youku Technology
Youku Technology
Apr 3, 2020 · Industry Insights

How Youku Scaled Millions of DAU with DSP‑Driven RTB Advertising Algorithms

This article explains how Youku combined user‑growth objectives with real‑time bidding (RTB) advertising, designing and optimizing DSP algorithms to maximize high‑value daily active users under cost constraints, covering business background, RTB mechanics, ranking models, pricing strategies, engineering pipelines, and future directions.

AdvertisingDSPRTB
0 likes · 13 min read
How Youku Scaled Millions of DAU with DSP‑Driven RTB Advertising Algorithms
Sohu Tech Products
Sohu Tech Products
Apr 1, 2020 · Fundamentals

Bitwise Operations: Techniques and Applications in Algorithmic Problems

This article introduces the basics of bitwise operations, common operators, practical tricks such as checking parity, setting or clearing bits, and demonstrates their use in solving classic algorithmic challenges like the poison bottle puzzle, power‑of‑two detection, counting set bits, and the 8‑Queens problem.

Optimizationalgorithmbit-manipulation
0 likes · 17 min read
Bitwise Operations: Techniques and Applications in Algorithmic Problems
DataFunTalk
DataFunTalk
Mar 31, 2020 · Product Management

Building User Profiles: From Zero to One and Scaling to Hundreds

This article explains the concept of user profiling, outlines an eight‑dimensional tag architecture, describes step‑by‑step methods for constructing a robust profile system from scratch and expanding it, and shows how these profiles support statistical analysis, targeted marketing, and recommendation algorithms.

algorithmdata productmarketing
0 likes · 18 min read
Building User Profiles: From Zero to One and Scaling to Hundreds
Sohu Tech Products
Sohu Tech Products
Mar 25, 2020 · Fundamentals

Understanding Brute‑Force, Boyer‑Moore, and KMP String‑Matching Algorithms with Java Code

This article explains the Brute‑Force (BF), Boyer‑Moore (BM), and Knuth‑Morris‑Pratt (KMP) string‑matching algorithms, illustrates their operation with step‑by‑step visual examples, discusses the inefficiencies of BF, the shift rules of BM, and the prefix‑suffix logic of KMP, and provides a complete Java implementation including the construction of the next array.

Boyer-MooreKMPNext array
0 likes · 10 min read
Understanding Brute‑Force, Boyer‑Moore, and KMP String‑Matching Algorithms with Java Code
MaGe Linux Operations
MaGe Linux Operations
Mar 23, 2020 · Fundamentals

How to Reverse a Number into a List Using Recursion in Python

This article explains how to transform a number like 1234 into a reversed list of its digits using both a straightforward string method and two recursive implementations—standard and tail recursion—while noting Python's general preference for iterative solutions.

Listalgorithmrecursion
0 likes · 2 min read
How to Reverse a Number into a List Using Recursion in Python
Xianyu Technology
Xianyu Technology
Mar 12, 2020 · R&D Management

Kunpeng Advertising System Architecture and Operational Design for Xianyu

Kunpeng, a three‑level advertising framework for Xianyu, unifies activity‑scene‑material abstraction, extensible DataFetcher and modular filter libraries, and a global traffic‑mixing algorithm, enabling business groups to self‑service material delivery, achieve 60‑100% conversion gains, cut UV cost by ~40% and halve time‑to‑market.

AdvertisingR&D managementalgorithm
0 likes · 11 min read
Kunpeng Advertising System Architecture and Operational Design for Xianyu
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Feb 21, 2020 · Fundamentals

Longest Substring Without Repeating Characters – Sliding Window Analysis and Optimizations

This article explains the sliding‑window technique for solving the classic “Longest Substring Without Repeating Characters” problem, presents step‑by‑step analysis, demonstrates three Java implementations—from a basic set‑based method to hashmap and array optimizations—and discusses their time‑complexity improvements.

Stringalgorithmjava
0 likes · 8 min read
Longest Substring Without Repeating Characters – Sliding Window Analysis and Optimizations
Python Programming Learning Circle
Python Programming Learning Circle
Feb 20, 2020 · Fundamentals

Binary Search Algorithm Explanation

This article explains the binary search algorithm for locating a target element in a sorted array, describing its midpoint‑starting process, halving of the search range, termination conditions, and includes a simple example with its output.

algorithmbinary searchfundamentals
0 likes · 3 min read
Binary Search Algorithm Explanation
Youku Technology
Youku Technology
Feb 13, 2020 · Artificial Intelligence

AI-Based Follow-Subtitle (Bullet) System for Video Streaming

The article presents an AI‑driven follow‑subtitle system for video streaming that uses server‑side face detection and tracking to attach speech‑bubble bullets to characters, synchronizing trajectories with playback via a client SDK, while addressing cut‑scene handling, latency, and power constraints.

AIalgorithmface recognition
0 likes · 8 min read
AI-Based Follow-Subtitle (Bullet) System for Video Streaming
Selected Java Interview Questions
Selected Java Interview Questions
Feb 6, 2020 · Fundamentals

Binary Search Tree (BST) Overview, Implementation, and Traversal in C

This article introduces the concept of trees and binary search trees, defines a C struct for tree nodes, and provides complete implementations for creating nodes, inserting, deleting, searching, finding min/max, computing size and height, as well as recursive and non‑recursive traversals including pre‑order, in‑order, post‑order and level‑order.

C++Data Structuresalgorithm
0 likes · 13 min read
Binary Search Tree (BST) Overview, Implementation, and Traversal in C
JavaEdge
JavaEdge
Jan 2, 2020 · Fundamentals

How to Compute the Maximum Path Sum in a Binary Tree (C Solution)

This article explains the binary‑tree maximum path sum problem, provides example inputs and outputs, analyzes three possible path configurations, and presents both a brute‑force and an optimized depth‑first search implementation in C.

C++DFSalgorithm
0 likes · 5 min read
How to Compute the Maximum Path Sum in a Binary Tree (C Solution)
Python Programming Learning Circle
Python Programming Learning Circle
Dec 27, 2019 · Fundamentals

Master Quick Sort in Python: From Simple Code to Optimized Implementation

This article explains the divide‑and‑conquer principle behind quick sort, walks through a concise Python version and a more classic C‑style implementation, analyzes their inefficiencies, and offers practical optimization tips such as better pivot selection, space reduction, and hybrid sorting strategies.

Divide and ConquerQuick Sortalgorithm
0 likes · 9 min read
Master Quick Sort in Python: From Simple Code to Optimized Implementation
360 Tech Engineering
360 Tech Engineering
Dec 16, 2019 · Information Security

Understanding Random Number Generation for Lottery Programs and Cryptographic Security in JavaScript

This article explains the differences between true and pseudo‑random numbers, why JavaScript's Math.random is unsuitable for secure lottery draws, and how to use the Web Crypto API's Crypto.getRandomValues with a provided code example to achieve cryptographically strong randomness.

Crypto.getRandomValuesMath.randomalgorithm
0 likes · 8 min read
Understanding Random Number Generation for Lottery Programs and Cryptographic Security in JavaScript
58 Tech
58 Tech
Nov 29, 2019 · Big Data

Application of Big Data and Algorithms in the Real‑Estate Internet

The talk presented at the Shanghai Computer Society Annual Meeting details how big data and algorithms are leveraged in the real‑estate internet sector to enhance user personalization, improve agent matching, and assess video quality, illustrating practical implementations and performance gains across data collection, modeling, and recommendation pipelines.

AIalgorithmbig data
0 likes · 10 min read
Application of Big Data and Algorithms in the Real‑Estate Internet
Youzan Coder
Youzan Coder
Nov 15, 2019 · Fundamentals

Functions as Data Transformations: Recursion, Tail Calls, and Efficient Exponentiation & Fibonacci Implementations

The article treats functions as pure data‑to‑data mappings and demonstrates how common mathematical operations such as factorial, exponentiation, and Fibonacci can be expressed in TypeScript/JavaScript using recursive, tail‑recursive, iterative, and logarithmic‑time algorithms that illustrate functional transformation techniques and efficient algorithm design.

Fibonaccialgorithmexponentiation
0 likes · 8 min read
Functions as Data Transformations: Recursion, Tail Calls, and Efficient Exponentiation & Fibonacci Implementations
Efficient Ops
Efficient Ops
Nov 6, 2019 · Operations

Mastering Load Balancing: Types, Architectures, and Algorithms Explained

This article explains why a single server eventually hits a performance ceiling, introduces high‑performance clustering and the role of load balancers, compares DNS, hardware, and software load‑balancing solutions, outlines typical multi‑layer architectures, and reviews common load‑balancing algorithms with their pros and cons.

algorithmhigh availabilityload balancing
0 likes · 18 min read
Mastering Load Balancing: Types, Architectures, and Algorithms Explained
21CTO
21CTO
Sep 28, 2019 · Backend Development

What I Learned From a Tough ByteDance Backend Interview: Nginx, Redis, and More

A candid recount of a ByteDance backend interview reveals how superficial preparation, gaps in Nginx, uWSGI, Redis, and data‑structure knowledge, and nervousness can derail even experienced developers, while offering concrete advice on early preparation, resume framing, and tackling tough technical questions.

BackendNginxRedis
0 likes · 12 min read
What I Learned From a Tough ByteDance Backend Interview: Nginx, Redis, and More
ITPUB
ITPUB
Sep 17, 2019 · Fundamentals

How a General Deadlock Prediction Algorithm Enhances Linux Lockdep for Read‑Write Locks

This article explains the challenges of deadlock detection in Linux kernel lockdep, especially with read‑write locks, and presents a formally proven general deadlock prediction algorithm that models lock dependencies using a two‑thread abstraction, lemmas, and lock‑type promotion to reliably predict potential deadlocks.

Lockdepalgorithmconcurrency
0 likes · 17 min read
How a General Deadlock Prediction Algorithm Enhances Linux Lockdep for Read‑Write Locks
FunTester
FunTester
Sep 16, 2019 · Fundamentals

Finding Twin Primes Using Recursive Filtering in Java

The article explains how to generate prime numbers with a recursive filtering method, identify twin primes below 10,000, and includes Java implementations of bubble sort and insertion sort, along with a brief commentary on Groovy's advantages and a curated list of related technical articles.

Prime NumbersTwin Primesalgorithm
0 likes · 5 min read
Finding Twin Primes Using Recursive Filtering in Java
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 11, 2019 · Fundamentals

Common Algorithm Tricks: Bit Manipulation, Two‑Pointer Techniques, and XOR Applications

This article reviews several practical algorithm tricks—including using n&(n‑1) to clear the lowest set bit, counting bits, converting numbers, applying double‑pointer methods to linked lists and sorted arrays, and leveraging XOR properties—to simplify typical interview coding problems.

algorithmbit-manipulationtwo pointers
0 likes · 9 min read
Common Algorithm Tricks: Bit Manipulation, Two‑Pointer Techniques, and XOR Applications
MaGe Linux Operations
MaGe Linux Operations
Sep 1, 2019 · Fundamentals

10 Must‑Know Hand‑Coding Interview Algorithms Every Developer Should Master

This article presents the ten most frequently asked hand‑coding interview problems—quick sort, binary search, climbing stairs, two‑sum, max drawdown, merging sorted arrays, maximum subarray, longest non‑repeating substring, permutations, and three‑sum—each with clear Python implementations, difficulty ratings, occurrence probabilities, and sample outputs to boost your interview success.

Pythonalgorithmcoding interview
0 likes · 13 min read
10 Must‑Know Hand‑Coding Interview Algorithms Every Developer Should Master
FunTester
FunTester
Aug 26, 2019 · Fundamentals

How to Check If a Binary Tree Is Symmetric in O(n) Time

This article explains the symmetric‑tree problem, outlines a depth‑first recursive strategy with base‑case checks, demonstrates short‑circuit evaluation, analyzes time complexity, and provides a complete Java implementation that determines tree symmetry in linear time.

DFSalgorithmbinary tree
0 likes · 3 min read
How to Check If a Binary Tree Is Symmetric in O(n) Time
Java Captain
Java Captain
Aug 13, 2019 · Fundamentals

Reversing a Singly Linked List in K‑Node Groups Starting from the Tail

The article explains how to solve a variant of the linked‑list reversal problem where every K nodes are reversed as a group starting from the tail, using recursion and double reversal techniques, and provides complete Java implementations for the algorithm.

algorithmk-group reversallinked list
0 likes · 7 min read
Reversing a Singly Linked List in K‑Node Groups Starting from the Tail
Programmer DD
Programmer DD
Jul 27, 2019 · Fundamentals

Master Red-Black Trees: Visual Guide to Balancing Binary Search Trees

This article offers a clear, visual introduction to red‑black trees, covering binary search tree fundamentals, the four balancing rules, insertion cases with recolor and rotation steps, and step‑by‑step animated examples, helping readers grasp and remember the concepts through images and analogies.

BalancingData StructuresRed-Black Tree
0 likes · 10 min read
Master Red-Black Trees: Visual Guide to Balancing Binary Search Trees
GF Securities FinTech
GF Securities FinTech
Jul 25, 2019 · Backend Development

How Nginx’s Smooth Weighted Round‑Robin Load Balancing Works

This article explains Nginx's five load‑balancing methods, focusing on the weighted round‑robin algorithm, its basic and smooth variants, provides code examples, step‑by‑step execution, and a mathematical proof of why the smooth version distributes traffic fairly according to server weights.

Nginxalgorithmload balancing
0 likes · 8 min read
How Nginx’s Smooth Weighted Round‑Robin Load Balancing Works
Programmer DD
Programmer DD
Jul 24, 2019 · Fundamentals

Master Dynamic Programming: From Fibonacci to Knapsack, Levenshtein & LCS in Java

This comprehensive guide explains dynamic programming fundamentals, contrasts it with greedy recursion, and walks through Java implementations for Fibonacci, rod‑cutting, simplified and traditional knapsack, Levenshtein edit distance, and longest common subsequence, highlighting performance gains and reconstruction techniques.

LCSalgorithmdynamic programming
0 likes · 26 min read
Master Dynamic Programming: From Fibonacci to Knapsack, Levenshtein & LCS in Java
Big Data Technology & Architecture
Big Data Technology & Architecture
Jul 12, 2019 · Backend Development

Improving Nginx Load Balancing with the Virtual Node Smooth Weighted Round‑Robin (VNSWRR) Algorithm in Tengine

This article analyzes the shortcomings of Nginx's native Smooth Weighted Round‑Robin (SWRR) algorithm in large‑scale application gateway scenarios, presents a real‑world case where weight adjustments cause traffic spikes, and introduces the VNSWRR algorithm that achieves O(1) selection time, smoother weight handling, and up to 60% higher QPS performance.

BackendPerformanceVNSWRR
0 likes · 17 min read
Improving Nginx Load Balancing with the Virtual Node Smooth Weighted Round‑Robin (VNSWRR) Algorithm in Tengine
DataFunTalk
DataFunTalk
Jun 13, 2019 · Artificial Intelligence

What Makes a Good Recommendation System?

This article explores the multifaceted criteria for evaluating a good recommendation system, covering macro and micro perspectives, product domain considerations, information retrieval, algorithmic accuracy, user experience, and business impact, and outlines a systematic iteration process for continuous improvement.

AIalgorithme-commerce
0 likes · 13 min read
What Makes a Good Recommendation System?
Architect's Tech Stack
Architect's Tech Stack
Jun 9, 2019 · Backend Development

Rate Limiting Strategies and Considerations for Microservices

This article reviews why rate limiting is crucial in microservice architectures, outlines common limiting techniques such as semaphore counting, thread‑pool isolation, fixed and sliding windows, token‑bucket and leaky‑bucket algorithms, and discusses practical considerations like clock sync, SDK vs. server enforcement, and accuracy‑latency trade‑offs.

Backendalgorithmtraffic control
0 likes · 13 min read
Rate Limiting Strategies and Considerations for Microservices
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jun 5, 2019 · Fundamentals

Understanding Paxos: A Beginner’s 30‑Minute Guide with Real‑World Analogy

This article explains the Paxos consensus algorithm in plain terms, using a relatable travel‑planning analogy to illustrate how proposers, acceptors, and majority voting achieve fault‑tolerant agreement in distributed systems, and connects the concept to real‑world implementations like Google’s Chubby and ZooKeeper.

Distributed ConsensusPaxosalgorithm
0 likes · 13 min read
Understanding Paxos: A Beginner’s 30‑Minute Guide with Real‑World Analogy
Java Captain
Java Captain
May 28, 2019 · Fundamentals

Five Classic Bitwise Operation Techniques in Java

This article introduces five classic bitwise operation examples in Java—including checking odd/even, swapping variables without a temporary, finding a unique number, fast exponentiation, and determining the greatest power of two not exceeding N—explaining the underlying binary logic, code implementations, and their efficiency advantages.

CodingOptimizationPerformance
0 likes · 10 min read
Five Classic Bitwise Operation Techniques in Java
Tencent Cloud Developer
Tencent Cloud Developer
May 23, 2019 · Backend Development

Rate Limiting in Microservices: Why It’s Needed and Common Techniques

Rate limiting is essential for microservice resilience, preventing overloads and protecting business continuity, and can be implemented through various methods such as semaphores, thread‑pool isolation, fixed or sliding windows (using Redis ZSets or local memory), token‑bucket/leaky‑bucket algorithms, each with trade‑offs in accuracy, performance, clock synchronization, and deployment location.

Microservicesalgorithmrate limiting
0 likes · 16 min read
Rate Limiting in Microservices: Why It’s Needed and Common Techniques
Java Captain
Java Captain
Apr 25, 2019 · Fundamentals

Effective Strategies for Algorithm Practice and Problem Solving

This article shares practical, step‑by‑step techniques for improving algorithm problem‑solving skills, emphasizing gradual difficulty progression, categorizing problems by data structure, a three‑stage solving process, and the importance of abstraction and sustained motivation for effective LeetCode practice.

LeetCodealgorithmcoding interview
0 likes · 9 min read
Effective Strategies for Algorithm Practice and Problem Solving
Java Captain
Java Captain
Apr 21, 2019 · Fundamentals

Binary Search and Its Variants in Java

This article explains the classic binary search algorithm, presents a Java implementation, and details multiple binary‑search variants—including finding first/last equal elements, elements less than or greater than a key—while providing clear code examples and guidance on boundary handling.

algorithmbinary searchcoding interview
0 likes · 9 min read
Binary Search and Its Variants in Java
Java Captain
Java Captain
Mar 22, 2019 · Fundamentals

Understanding Recursion: Three Essential Elements and Practical Code Examples

This article introduces recursion by outlining its three essential elements—function purpose, base case, and recurrence relation—and demonstrates each step with clear Java/C examples such as factorial, Fibonacci, frog‑jump, and linked‑list reversal, while also covering common pitfalls and optimization techniques.

C++CodingData Structures
0 likes · 15 min read
Understanding Recursion: Three Essential Elements and Practical Code Examples
Architects' Tech Alliance
Architects' Tech Alliance
Mar 12, 2019 · Operations

Load Balancing: Concepts, Types, Strategies, and Algorithms

This article explains the fundamentals of load balancing, covering its definition, benefits, various types such as server, firewall, and link load balancing, hardware vs software solutions, local and global strategies, and common algorithms like round robin, weighted, least connections, and DNS‑based methods.

algorithmcloud
0 likes · 13 min read
Load Balancing: Concepts, Types, Strategies, and Algorithms
58 Tech
58 Tech
Mar 7, 2019 · Big Data

In-Memory Inverted Index Compression Algorithms: Overview and MILC Optimization for High‑Performance Search

This article reviews major in‑memory inverted index compression techniques such as PForDelta, PEF, and MILC, explains their principles and trade‑offs, and details practical optimizations applied at 58.com to achieve query performance comparable to uncompressed indexes while reducing memory usage by about 35 percent.

CompressionMILCalgorithm
0 likes · 17 min read
In-Memory Inverted Index Compression Algorithms: Overview and MILC Optimization for High‑Performance Search
Architect's Tech Stack
Architect's Tech Stack
Mar 1, 2019 · Fundamentals

Understanding Arrays: Random Access, Insertion, Deletion, and Efficiency

This article explains what arrays are, how they enable O(1) random access through address calculation, the time‑complexities of insertion and deletion operations, techniques for improving array efficiency, and why zero‑based indexing is used, comparing arrays with dynamic containers like ArrayList.

DeletionInsertionalgorithm
0 likes · 6 min read
Understanding Arrays: Random Access, Insertion, Deletion, and Efficiency
DataFunTalk
DataFunTalk
Jan 18, 2019 · Artificial Intelligence

Efficiency Optimization Practices for 58.com Search Ranking

This article presents a comprehensive overview of 58.com’s search efficiency optimization, detailing the business background, ranking framework, data, algorithm, and engineering components, describing the three-stage ranking process, strategy and platform optimizations, feature engineering, model upgrades, and the resulting performance improvements.

Online Advertisingalgorithmefficiency optimization
0 likes · 12 min read
Efficiency Optimization Practices for 58.com Search Ranking
Programmer DD
Programmer DD
Jan 9, 2019 · Fundamentals

How to Find the Peak in a Bitonic Array Using Binary Search

This article presents a JavaScript solution for locating the maximum element in a bitonic (first increasing then decreasing) array, explaining that the problem is a variant of binary search and providing a complete implementation using a binary‑search‑based algorithm.

JavaScriptalgorithmbinary search
0 likes · 3 min read
How to Find the Peak in a Bitonic Array Using Binary Search
Programmer DD
Programmer DD
Jan 4, 2019 · Fundamentals

How to Build an O(log n) Priority Queue with a Binary Heap in JavaScript

This article explains the concept of a priority queue, presents a interview‑style problem requiring O(log n) enqueue and dequeue operations, and shows how to implement the solution efficiently using a binary heap with detailed step‑by‑step illustrations and a complete JavaScript code example.

Data StructuresO(log n)algorithm
0 likes · 8 min read
How to Build an O(log n) Priority Queue with a Binary Heap in JavaScript
Java Captain
Java Captain
Dec 25, 2018 · Fundamentals

Common Algorithmic Techniques: Array Indexing, Modulo, Two‑Pointer, Bit‑Shift, Sentinel Nodes, and Recursion Optimizations

This article introduces several practical algorithmic tricks—using array indices as counters, applying modulo for circular traversal, employing two‑pointer methods for linked‑list problems, leveraging bit‑shift and bitwise operations, adding sentinel nodes, and optimizing recursive solutions with memoization and bottom‑up DP—each illustrated with Java code examples.

Data StructuresOptimizationalgorithm
0 likes · 10 min read
Common Algorithmic Techniques: Array Indexing, Modulo, Two‑Pointer, Bit‑Shift, Sentinel Nodes, and Recursion Optimizations
Programmer DD
Programmer DD
Dec 17, 2018 · Fundamentals

How to Compute √2 Efficiently: Binary Search, Newton’s Method, and C Tricks

Learn multiple techniques to calculate the square root of 2—including binary search, Newton’s iteration, and a clever C library implementation—through clear explanations, step‑by‑step illustrations, and full JavaScript and C code examples that reveal the underlying mathematics and performance considerations.

C++Newton's methodalgorithm
0 likes · 4 min read
How to Compute √2 Efficiently: Binary Search, Newton’s Method, and C Tricks
21CTO
21CTO
Nov 27, 2018 · Big Data

How Netflix’s Data‑Driven Playbook Is Challenging Hollywood’s Creative Rules

Netflix’s data‑driven strategy, which uses massive subscriber analytics to shape original content and marketing, has sparked a clash with Hollywood’s traditional, relationship‑focused approach, leading to internal power struggles, leadership changes, and a broader debate over algorithmic versus human intuition in entertainment.

Data AnalyticsNetflixStreaming
0 likes · 8 min read
How Netflix’s Data‑Driven Playbook Is Challenging Hollywood’s Creative Rules
Programmer DD
Programmer DD
Nov 21, 2018 · Fundamentals

Who Was Ada Lovelace? The Woman Who Invented Computer Programming

Ada Lovelace, the daughter of poet Byron, pioneered computer programming by introducing algorithms and the concept of loops, influencing modern software engineering and inspiring the Ada programming language named in her honor, recognized by the U.S. Department of Defense and industry leaders.

Ada LovelaceProgramming Languagealgorithm
0 likes · 7 min read
Who Was Ada Lovelace? The Woman Who Invented Computer Programming
Programmer DD
Programmer DD
Oct 30, 2018 · Fundamentals

What Is Paxos? A Storytelling Guide to Distributed Consensus

This article uses a vivid allegorical story to introduce the Paxos algorithm, then explains its roles, two-phase protocol, fault assumptions, and why majority and multiple acceptors are essential for achieving reliable consensus in distributed systems.

Distributed ConsensusPaxosalgorithm
0 likes · 10 min read
What Is Paxos? A Storytelling Guide to Distributed Consensus
JD Tech
JD Tech
Oct 16, 2018 · Fundamentals

Wave Fluctuation Equal Distribution (波动均分) Algorithm: Exhaustive and Quick Allocation Methods

This article introduces the "wave fluctuation equal distribution" algorithm that splits a value into N parts within a bounded range with random variation, explains its characteristics, and provides two JavaScript implementations—an exhaustive enumeration method and a fast random allocation method—along with performance analysis and validation techniques.

JavaScriptalgorithmexhaustive search
0 likes · 7 min read
Wave Fluctuation Equal Distribution (波动均分) Algorithm: Exhaustive and Quick Allocation Methods
Java Backend Technology
Java Backend Technology
Oct 13, 2018 · Big Data

Check a New Integer Among 4 Billion Records in Seconds Using Bitmap & Distributed Methods

An interviewee faces the challenge of determining whether a newly given integer exists within a set of 4 billion numbers, and the article explores efficient solutions—from naive disk‑I/O approaches to distributed processing and the memory‑saving bitmap technique—highlighting their performance trade‑offs and implementation details.

BitmapDistributed ComputingLarge Dataset
0 likes · 6 min read
Check a New Integer Among 4 Billion Records in Seconds Using Bitmap & Distributed Methods
UC Tech Team
UC Tech Team
Oct 11, 2018 · Backend Development

Avoiding Single Empty Seats in Cinema Seat Selection Using Regex

This article explains how to prevent isolated empty seats when users select cinema seats by modeling seat layouts, defining forbidden patterns, converting them into regular expressions, and implementing concise JavaScript validation code that reduces complex nested if‑statements to a few clear lines.

CinemaValidationalgorithm
0 likes · 6 min read
Avoiding Single Empty Seats in Cinema Seat Selection Using Regex
21CTO
21CTO
Sep 21, 2018 · Big Data

Master Massive Data Processing: Key Techniques from Hash Maps to MapReduce

This comprehensive guide explores essential strategies for handling massive datasets, covering hash-based structures, bucket partitioning, heap and quicksort techniques, trie trees, Bloom filters, external sorting, and MapReduce, and demonstrates how to efficiently solve common interview problems such as top‑K queries and duplicate removal.

Data StructuresHeapMapReduce
0 likes · 35 min read
Master Massive Data Processing: Key Techniques from Hash Maps to MapReduce
AutoHome Frontend
AutoHome Frontend
Sep 18, 2018 · Frontend Development

How Google Photos Delivers Smooth 60fps Scrolling with Advanced Layout Tricks

This article explains the technical challenges Google Photos faced—such as handling millions of images, preserving aspect ratios, enabling instant navigation, and maintaining 60fps scrolling—and details the algorithms, data chunking, justified layout, and performance optimizations that make the web UI fast and fluid.

Layoutalgorithmfrontend
0 likes · 27 min read
How Google Photos Delivers Smooth 60fps Scrolling with Advanced Layout Tricks
Meituan Technology Team
Meituan Technology Team
Sep 6, 2018 · Artificial Intelligence

Meituan Machine Learning Practice Book Released

Meituan’s new book, 'Machine Learning Practice,' authored by over twenty frontline engineers, offers a comprehensive guide to internet‑company ML techniques, is now sold in major bookstores, invites reader feedback, and provides QR‑code access to the team’s official account and an electronic bibliography, plus a companion summary of 27 essential AI articles.

AIMeituanalgorithm
0 likes · 6 min read
Meituan Machine Learning Practice Book Released