Skip to content

Topic: Divide and Conquer

42 problems
TitleStatusDifficulty
Median of Two Sorted ArraysHard
Merge k Sorted ListsHard
Maximum SubarrayMedium
Construct Binary Tree from Preorder and Inorder TraversalMedium
Construct Binary Tree from Inorder and Postorder TraversalMedium
Convert Sorted Array to Binary Search TreeEasy
Convert Sorted List to Binary Search TreeMedium
Sort ListMedium
Majority ElementEasy
Reverse BitsEasy
Number of 1 BitsEasy
Kth Largest Element in an ArrayMedium
The Skyline ProblemHard
Search a 2D Matrix IIMedium
Count of Smaller Numbers After SelfHard
Wiggle Sort IIreadMedium
Count of Range SumHard
Top K Frequent ElementsMedium
Super PowMedium
Longest Substring with At Least K Repeating CharactersMedium
Construct Quad TreeMedium
Reverse PairsHard
Logical OR of Two Binary Grids Represented as Quad-TreesreadMedium
Maximum Binary TreeMedium
Construct Binary Tree from Preorder and Postorder TraversalMedium
Sort an ArrayMedium
Maximum Sum Circular SubarrayMedium
Beautiful ArrayMedium
K Closest Points to OriginMedium
Balance a Binary Search TreeMedium
Number of Ways to Reorder Array to Get Same BSTHard
Create Sorted Array through InstructionsHard
Find Kth Largest XOR Coordinate ValuereadMedium
Longest Nice SubstringEasy
Find Array Given Subset SumsHard
Find the Kth Largest Integer in the ArrayreadMedium
Count Good Triplets in an ArrayHard
Query Kth Smallest Trimmed NumberreadMedium
Longest Increasing Subsequence IIHard
Number of Pairs Satisfying InequalityHard
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Fill a Special GridMedium