AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: Divide-and-conquer-question / Level: Advanced
430. Given an array, find the longest increasing subsequence of length k using divide and conquer.
431. Write a function to check if a string is a rotation of another string using divide and conquer.
432. Implement a function to find the smallest and largest elements in an array using divide and conquer.
433. Use divide and conquer to solve the problem of finding the longest palindromic substring in a string.
434. Write a function to count the number of distinct characters in a string using divide and conquer.
435. Given an array of stock prices, find the maximum profit that can be made by buying and selling once using a divide and conquer strategy.
436. Implement a function to find the longest contiguous subarray with a product equal to a target using divide and conquer.
437. Write a function to count the number of unique paths from the top-left to the bottom-right corner of a grid with obstacles using divide and conquer.
438. Given a binary tree, find the diameter using a divide and conquer approach.
439. Implement a function to find the first non-repeating character in a string using divide and conquer.
440. Write a function to calculate the number of unique paths in a grid from the top-left to the bottom-right corner using divide and conquer.
441. Given a matrix, implement a function to find the maximum sum rectangle using the divide and conquer technique.
442. Use divide and conquer to find the longest consecutive sequence in an array.
443. Implement a function to find the k-th smallest element in a sorted 2D matrix using divide and conquer.
444. Write a function to determine if a binary tree is a valid binary search tree using divide and conquer.
445. Given a string, find the longest substring that contains at most two distinct characters using divide and conquer.
446. Implement a function to find the maximum height of a binary tree using divide and conquer.
447. Write a function to find the number of unique substrings in a given string using divide and conquer.
448. Given an array of numbers, use divide and conquer to find the majority element (if it exists).
449. Implement a function to compute the discrete Fourier transform (DFT) of a sequence using divide and conquer.
450. Write a function to find the longest sequence of consecutive numbers using divide and conquer.
451. Given a list of meeting intervals, find the maximum number of attendees that can attend using divide and conquer.
452. Implement a function to solve the longest palindromic substring problem using a modified divide and conquer approach.
453. Write a function to find the maximum sum of non-adjacent numbers in an array using divide and conquer.
454. Given a set of points in 2D, find the closest pair of points using the divide and conquer method.
455. Implement a function to find the maximum sum of a rectangular region in a 2D grid using divide and conquer.
456. Write a function to find the longest palindromic prefix in a string using divide and conquer.
457. Given an array, implement a function to find the maximum product of three integers using a divide and conquer strategy.
458. Use divide and conquer to find the minimum number of coins needed to make a specific amount of money.
459. Implement a function to find the total number of unique characters in a substring using divide and conquer.
Previous
1
2
3
4
5
Next
More Levels
Beginner
Intermediate
Most Visited
Given an array, find the maximum sum of a subarray that has a given sum using divide and conquer.
Given a string, find the first non-repeating character using divide and conquer.
Implement a function to find the first non-repeating character in a string using divide and conquer.
Write a function to find the minimum window substring that contains all characters of another string using divide and conquer.
Write a function to find the longest common prefix among an array of strings using divide and conquer.
Write a function to find the longest common prefix among an array of strings using divide and conquer.
Write a function that generates all possible combinations of a given string using divide and conquer.
Given an integer n, find the number of ways to express it as a sum of positive integers using divide and conquer.
Given a string, find the longest valid parentheses substring using divide and conquer.
Write a function that counts the number of inversions in an array using the merge sort technique.
Given an array, find the number of ways to split it into two subsets such that their sums are equal using divide and conquer.
Write a function to find the longest increasing subsequence of a string using divide and conquer.
Implement a function to find the longest alternating subsequence in a string using divide and conquer.
Write a function to find the longest increasing subsequence in a sequence of numbers using divide and conquer.
Given a binary search tree, find the kth largest element using divide and conquer.