Skip to content

Topic: Divide and Conquer

42 problems
TitleStatusDifficulty
Median of Two Sorted Arrays—Hard
Merge k Sorted Lists—Hard
Maximum Subarray—Medium
Construct Binary Tree from Preorder and Inorder Traversal—Medium
Construct Binary Tree from Inorder and Postorder Traversal—Medium
Convert Sorted Array to Binary Search Tree—Easy
Convert Sorted List to Binary Search Tree—Medium
Sort List—Medium
Majority Element—Easy
Reverse Bits—Easy
Number of 1 Bits—Easy
Kth Largest Element in an Array—Medium
The Skyline Problem—Hard
Search a 2D Matrix II—Medium
Count of Smaller Numbers After Self—Hard
Wiggle Sort IIread—Medium
Count of Range Sum—Hard
Top K Frequent Elements—Medium
Super Pow—Medium
Longest Substring with At Least K Repeating Characters—Medium
Construct Quad Tree—Medium
Reverse Pairs—Hard
Logical OR of Two Binary Grids Represented as Quad-Treesread—Medium
Maximum Binary Tree—Medium
Construct Binary Tree from Preorder and Postorder Traversal—Medium
Sort an Array—Medium
Maximum Sum Circular Subarray—Medium
Beautiful Array—Medium
K Closest Points to Origin—Medium
Balance a Binary Search Tree—Medium
Number of Ways to Reorder Array to Get Same BST—Hard
Create Sorted Array through Instructions—Hard
Find Kth Largest XOR Coordinate Valueread—Medium
Longest Nice Substring—Easy
Find Array Given Subset Sums—Hard
Find the Kth Largest Integer in the Arrayread—Medium
Count Good Triplets in an Array—Hard
Query Kth Smallest Trimmed Numberread—Medium
Longest Increasing Subsequence II—Hard
Number of Pairs Satisfying Inequality—Hard
Maximum Sum of Subsequence With Non-adjacent Elements—Hard
Fill a Special Grid—Medium