Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Arrays
6.5K+ articles
Competitive Programming
3.3K+ articles
Sorting
1.8K+ articles
Searching
1.7K+ articles
Divide and Conquer
278+ articles
Algorithms-Searching
29+ articles
Ternary Search
12+ articles
In-house
+ articles
Algorithms-Divide and Conquer
8 posts
Recent Articles
Popular Articles
Search for an element in a Mountain Array
Last Updated: 02 August 2022
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
Divide and Conquer
Searching
Sorting
Competitive Programming
DSA
Arrays
Binary Search
Algorithms-Divide and Conquer
Minimize count of alternating subsequences to divide given Binary String with subsequence number
Last Updated: 23 November 2021
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
Minimize the Maximum Distance between runners
Last Updated: 12 December 2023
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
Competitive Programming
DSA
Algorithms-Divide and Conquer
Algorithms-Searching
Ternary Search
Minimizing Maximum Absolute Subarray Sums
Last Updated: 10 February 2024
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
Competitive Programming
DSA
Arrays
Algorithms-Divide and Conquer
Algorithms-Searching
Ternary Search
Minimizing Distance Between Two Walkers
Last Updated: 29 December 2023
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
Competitive Programming
DSA
Algorithms-Divide and Conquer
Algorithms-Searching
Ternary Search
Finding Minimum Time for Workers to Meet at a Point
Last Updated: 28 December 2023
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
Competitive Programming
DSA
Arrays
Algorithms-Divide and Conquer
Algorithms-Searching
Ternary Search
Rearrange Even and Odd Index Elements in K Operations
Last Updated: 15 February 2024
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
Competitive Programming
DSA
Arrays
Algorithms-Divide and Conquer
Binary Exponentiation
Advantages and Disadvantages of Divide and Conquer Algorithms
Last Updated: 04 March 2024
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
Algorithms
Divide and Conquer
DSA
Algorithms-Divide and Conquer
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !