Tagged articles

Divide and Conquer

30 articles · Page 1 of 1
Ops Development & AI Practice
Ops Development & AI Practice
Jun 17, 2024 · Fundamentals

End‑to‑End vs Divide‑and‑Conquer: Which Algorithm Wins in Real‑World Scenarios?

This article compares end‑to‑end and divide‑and‑conquer algorithmic approaches, outlining their definitions, strengths, weaknesses, and ideal use‑cases, and illustrates the differences with concrete examples in image classification and sorting, helping developers choose the most suitable method for performance and reliability.

AlgorithmDivide and ConquerEnd-to-End
0 likes · 7 min read
End‑to‑End vs Divide‑and‑Conquer: Which Algorithm Wins in Real‑World Scenarios?
Ops Development & AI Practice
Ops Development & AI Practice
Apr 21, 2024 · Fundamentals

Master QuickSort in Go: Dive into the Algorithm and Its Real-World Use

This article explains the QuickSort algorithm’s divide-and-conquer principle, walks through its step-by-step process, provides a complete Go implementation with code, discusses practical applications, performance considerations, and future optimization directions, offering readers a solid grasp of sorting fundamentals.

Divide and ConquerGo ProgrammingSorting Algorithm
0 likes · 5 min read
Master QuickSort in Go: Dive into the Algorithm and Its Real-World Use
Code Ape Tech Column
Code Ape Tech Column
Feb 20, 2024 · Backend Development

Understanding ForkJoinPool: Divide‑and‑Conquer, Task Splitting, and Performance in Java

This article explains the limitations of ThreadPoolExecutor, introduces the Fork/Join model and its divide‑and‑conquer algorithm, demonstrates custom RecursiveTask implementations with full source code, analyzes ForkJoinPool construction, task submission, work‑stealing, monitoring APIs, commonPool pitfalls, and performance evaluation, providing practical guidance for Java developers.

Divide and ConquerForkJoinPoolThreadPool
0 likes · 24 min read
Understanding ForkJoinPool: Divide‑and‑Conquer, Task Splitting, and Performance in Java
Architect
Architect
Jan 12, 2024 · Artificial Intelligence

Can Divide‑and‑Conquer Boost Embedding‑Based Retrieval in Recommenders?

The article reviews the arXiv paper “Divide and Conquer: Towards Better Embedding‑based Retrieval for Recommender Systems from a Multi‑task Perspective”, explaining how grouping candidates, balancing easy and hard negatives, and using multi‑interest user vectors can improve recall performance in large‑scale recommendation pipelines.

Divide and ConquerEmbedding RetrievalIndustry Insights
0 likes · 7 min read
Can Divide‑and‑Conquer Boost Embedding‑Based Retrieval in Recommenders?
Kuaishou Tech
Kuaishou Tech
Apr 24, 2023 · Artificial Intelligence

Divide‑and‑Conquer Embedding‑Based Retrieval with Prompt‑Based Multi‑Task Learning for Large‑Scale Recommendation

This paper identifies the trade‑off between simple and hard negatives in embedding‑based retrieval for recommendation, proposes a clustering‑based divide‑and‑conquer framework combined with prompt‑driven multi‑task learning to improve relevance, diversity, and fairness, and validates the approach through offline metrics, online A/B tests, and comparative experiments.

Approximate Nearest NeighborDivide and ConquerEmbedding Retrieval
0 likes · 9 min read
Divide‑and‑Conquer Embedding‑Based Retrieval with Prompt‑Based Multi‑Task Learning for Large‑Scale Recommendation
IT Architects Alliance
IT Architects Alliance
Jun 15, 2022 · Fundamentals

Mastering Algorithm Strategies: From Greedy to Dynamic Programming

This article provides a comprehensive overview of fourteen algorithmic strategies—including greedy, recurrence, recursion, enumeration, backtracking, divide‑and‑conquer, and dynamic programming—explaining their characteristics, typical use cases, inter‑relationships, and the types of problems each approach best addresses.

AlgorithmsDivide and ConquerRecursion
0 likes · 9 min read
Mastering Algorithm Strategies: From Greedy to Dynamic Programming
Java Backend Technology
Java Backend Technology
Dec 9, 2021 · Big Data

How to Efficiently Find Common URLs in Billions of Records

This article explains how to handle the massive‑data problem of intersecting two files containing billions of URLs by using hash‑based divide‑and‑conquer techniques, file partitioning, and in‑memory hash lookups to achieve scalable performance beyond naive O(m·n) approaches.

AlgorithmDivide and ConquerHash
0 likes · 8 min read
How to Efficiently Find Common URLs in Billions of Records
JavaEdge
JavaEdge
Nov 14, 2021 · Fundamentals

Master Merge Sort: Step‑by‑Step Explanation, Code, and Analysis

This article explains the merge sort algorithm in detail, covering its divide‑and‑conquer principle, step‑by‑step process with illustrative examples, a complete C implementation, and an analysis of its time and space complexities and suitable use cases.

C programmingDivide and ConquerSorting Algorithm
0 likes · 7 min read
Master Merge Sort: Step‑by‑Step Explanation, Code, and Analysis
Selected Java Interview Questions
Selected Java Interview Questions
Sep 13, 2021 · Fundamentals

Understanding Merge Sort and Merging Two Sorted Arrays in C#

This article explains the merge sort algorithm’s divide‑and‑conquer principle, analyzes its O(n log n) time complexity, and provides two complete C# code examples—one for a generic merge sort and another for merging two already sorted arrays—along with visual illustrations of the merging process.

AlgorithmC++Divide and Conquer
0 likes · 6 min read
Understanding Merge Sort and Merging Two Sorted Arrays in C#
Intelligent Backend & Architecture
Intelligent Backend & Architecture
May 19, 2021 · Fundamentals

Master Optimal Algorithms: Recursion, Greedy, Divide-Conquer, DP & Backtracking

This comprehensive guide explores core algorithmic strategies for finding optimal solutions—including recursion, greedy methods, divide-and-conquer, dynamic programming, backtracking, and branch-and-bound—explaining their principles, use-cases, and providing concrete Java and C++ code examples to illustrate implementation details.

AlgorithmsDivide and ConquerRecursion
0 likes · 54 min read
Master Optimal Algorithms: Recursion, Greedy, Divide-Conquer, DP & Backtracking
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 23, 2020 · Fundamentals

Understanding Recursion: Concepts, Complexity Analysis, and Practical Examples

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

AlgorithmDivide and ConquerRecursion
0 likes · 23 min read
Understanding Recursion: Concepts, Complexity Analysis, and Practical Examples
Ctrip Technology
Ctrip Technology
Sep 17, 2020 · Mobile Development

Applying Divide‑and‑Conquer and Jetpack Architecture to Decouple Complex Payment Flows in Android

The article describes how a Ctrip senior Android engineer uses divide‑and‑conquer, MVP with Clean Architecture, and Jetpack components such as LiveData and ViewModel to break down a highly coupled payment module into reusable view components, improve data flow, and simplify testing and maintenance.

AndroidDivide and ConquerLiveData
0 likes · 10 min read
Applying Divide‑and‑Conquer and Jetpack Architecture to Decouple Complex Payment Flows in Android
360 Tech Engineering
360 Tech Engineering
Jun 16, 2020 · Fundamentals

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

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

AlgorithmDelaunay triangulationDivide and Conquer
0 likes · 10 min read
Delaunay Triangulation: Definition, Properties, and Divide‑and‑Conquer Algorithm Implementation in TypeScript
Selected Java Interview Questions
Selected Java Interview Questions
Feb 13, 2020 · Fundamentals

Quick Sort: Overview, Naïve Implementation, Optimizations, and Non‑Recursive Version

This article explains the quick sort algorithm, covering its basic divide‑and‑conquer principle, a naïve C implementation, improvements such as two‑way partitioning, random and median‑of‑three pivot selection, and a non‑recursive version using an explicit stack, with full source code examples.

C languageDivide and ConquerNon-Recursive
0 likes · 9 min read
Quick Sort: Overview, Naïve Implementation, Optimizations, and Non‑Recursive Version
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.

AlgorithmDivide and ConquerQuick Sort
0 likes · 9 min read
Master Quick Sort in Python: From Simple Code to Optimized Implementation
21CTO
21CTO
May 20, 2019 · Fundamentals

Why Abstract Thinking Is the Secret Weapon of Great Software Architects

This article explains how abstract, layered, divide‑and‑conquer, and evolutionary thinking form the four essential mental tools that enable software architects to manage complexity, design scalable systems, and continuously evolve architectures in response to changing requirements.

Divide and Conquerabstractionarchitectural mindset
0 likes · 17 min read
Why Abstract Thinking Is the Secret Weapon of Great Software Architects
Tinker Programmer
Tinker Programmer
Nov 4, 2018 · Fundamentals

Understanding Quick Sort: A Divide-and-Conquer Improvement Over Bubble Sort

Quick sort improves on bubble sort by using a divide‑and‑conquer partitioning strategy, selecting a pivot to recursively sort sub‑arrays, achieving an average time complexity of O(n log n) and a worst case of O(n²), with a vivid “hole‑filling” analogy to illustrate the process.

Algorithm ComplexityDivide and ConquerPivot
0 likes · 4 min read
Understanding Quick Sort: A Divide-and-Conquer Improvement Over Bubble Sort
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Oct 14, 2018 · R&D Management

Why Abstract Thinking Is the Core Skill Every Software Architect Needs

The article explains how abstraction, layered design, divide‑and‑conquer, and evolutionary thinking form the four essential mental tools for architects to manage complexity, illustrating each concept with real‑world examples, diagrams, and practical advice for cultivating these skills.

Divide and Conquerabstractionarchitectural thinking
0 likes · 14 min read
Why Abstract Thinking Is the Core Skill Every Software Architect Needs
21CTO
21CTO
Jul 16, 2018 · Fundamentals

Unlock Powerful Architecture with Abstraction, Layering, and Divide‑and‑Conquer

The article explains how mastering abstraction, layering, divide‑and‑conquer, and evolutionary thinking equips software architects to manage complexity, design modular systems, and continuously evolve architectures—from simple modules to large‑scale platforms—highlighting practical examples, interview questions, and learning pathways.

Divide and Conquerabstractionevolutionary design
0 likes · 14 min read
Unlock Powerful Architecture with Abstraction, Layering, and Divide‑and‑Conquer
Architecture Digest
Architecture Digest
Jul 14, 2018 · Fundamentals

The Four Core Thinking Patterns for Software Architecture: Abstraction, Layering, Divide‑and‑Conquer, and Evolution

This article explains how abstraction, layered thinking, divide‑and‑conquer, and evolutionary design serve as the four fundamental mental tools that architects use to manage complexity in software systems, illustrated with everyday analogies, diagrams, and practical interview examples.

Divide and ConquerSystem thinkingabstraction
0 likes · 15 min read
The Four Core Thinking Patterns for Software Architecture: Abstraction, Layering, Divide‑and‑Conquer, and Evolution
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Aug 24, 2017 · Fundamentals

Classic Algorithms: Divide‑Conquer, DP, Greedy, Backtracking, Branch‑and‑Bound

This article revisits fundamental algorithmic strategies—divide‑and‑conquer, dynamic programming, greedy methods, backtracking, and branch‑and‑bound—detailing their core ideas, applicable problem characteristics, key considerations, procedural steps, and illustrative examples such as merge sort, coin change, Huffman coding, and shortest‑path problems.

AlgorithmsDivide and Conquerbacktracking
0 likes · 7 min read
Classic Algorithms: Divide‑Conquer, DP, Greedy, Backtracking, Branch‑and‑Bound
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 17, 2016 · Fundamentals

Understanding Classic Algorithms: Divide‑and‑Conquer, DP, Greedy, Backtracking

The article revisits fundamental algorithmic strategies—including divide‑and‑conquer, dynamic programming, greedy methods, backtracking, and branch‑and‑bound—detailing their core ideas, applicable problem characteristics, key considerations, procedural steps, and illustrative examples such as merge sort, coin change, Huffman coding, minimum spanning trees, and shortest‑path problems.

AlgorithmsDivide and Conquerbacktracking
0 likes · 7 min read
Understanding Classic Algorithms: Divide‑and‑Conquer, DP, Greedy, Backtracking