Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Misc
7.7K+ articles
Strings
2.1K+ articles
Binary Search
530+ articles
subsequence
434+ articles
Divide and Conquer
143+ articles
Algorithms-Searching
29+ articles
Ternary Search
12+ articles
In-house
+ articles
Algorithms-Divide and Conquer
9 posts
Recent Articles
Popular Articles
Divide and Conquer Interview Questions
Last Updated: 05 September 2025
Divide and Conquer (DC) is a problem-solving paradigm where a problem is broken into smaller independent subproblems, solved recursively, and combined to form the final so...
read more
Algorithms-Divide and Conquer
Interview Prep
Advantages and Disadvantages of Divide and Conquer Algorithms
Last Updated: 23 July 2025
Divide and Conquer is an algorithmic paradigm in which the problem is solved using the Divide, Conquer, and Combine strategy.A typical divide-and-conquer algorithm solves ...
read more
DSA
Algorithms-Divide and Conquer
Rearrange Even and Odd Index Elements in K Operations
Last Updated: 23 July 2025
Given an array arr[] of size N (N is even) and a positive integer K, the task is to apply an operation to the array arr[] for K times. Applying the operation once will shi...
read more
DSA
Algorithms-Divide and Conquer
Binary Exponentiation
Finding Minimum Time for Workers to Meet at a Point
Last Updated: 23 July 2025
Given N workers standing on a road of infinite length and two arrays point[] and time[] each of size N, such that point[i] is point where the ith worker is standing and ti...
read more
DSA
Algorithms-Divide and Conquer
Algorithms-Searching
Ternary Search
Minimizing Distance Between Two Walkers
Last Updated: 23 July 2025
Given the starting and ending coordinates of path of two persons, the task is to find the minimum distance between the persons at any point of time. The first persons walk...
read more
DSA
Algorithms-Divide and Conquer
Algorithms-Searching
Ternary Search
Minimizing Maximum Absolute Subarray Sums
Last Updated: 23 July 2025
Given an array arr[] of size N, we can choose any real number X which when subtracted from all the elements of the array then the maximum absolute subarray sum among all t...
read more
DSA
Algorithms-Divide and Conquer
Algorithms-Searching
Ternary Search
Minimize the Maximum Distance between runners
Last Updated: 23 July 2025
Given two arrays dist[] and speed[] of size N (number of runners) and a positive integer T (duration of a race), where dist[i], speed[i] indicating the initial distance an...
read more
DSA
Algorithms-Divide and Conquer
Algorithms-Searching
Ternary Search
Minimize count of alternating subsequences to divide given Binary String with subsequence number
Last Updated: 23 July 2025
Given a binary string S of length N. The task is to find the following:The minimum number of subsequences, string S can be divided into, such that the subsequence does not...
read more
Misc
Strings
Divide and Conquer
DSA
subsequence
binary-string
Algorithms-Divide and Conquer
Search for an element in a Mountain Array
Last Updated: 23 July 2025
Given a mountain array arr[] and an integer X, the task is to find the smallest index of X in the given array. If no such index is found, print -1.Examples:Input: arr = {1...
read more
DSA
Binary Search
Algorithms-Divide and Conquer