Articles tagged with Binary Search
- Count of Smaller Numbers After Self - MergeSort based concise solution, published 2023-12-08
- Capacity To Ship Packages Within D Days - Binary search with proper explanation, published 2023-02-22
- Maximum Profit in Job Scheduling - [Explained + Example] DP (Knapsack)+ OOP Faster than 97%, published 2022-11-26
- Count Complete Tree Nodes - Recursivle solution with explanation, published 2022-11-16
- Find Minimum in Rotated Sorted Array - Iterative binary search, published 2022-10-25
- Search a 2D Matrix II - Top right to bottom left, published 2022-10-18
- Time Based Key-Value Store - HashMap + Ordered Map, published 2022-10-06
- Search in Rotated Sorted Array - Faster than 100% -- Rotation pivot using binary search, published 2022-10-04
- Longest Increasing Subsequence - Two DP solutions, published 2022-10-04
- Two Sum II - Input Array Is Sorted - Three solutions, published 2022-09-27
- 132 Pattern - O(N^3), O(N^2), O(N log N) and O(N) solutions, published 2022-05-10
- Valid Triangle Number - O(N^2) log(N) Binary Search [AC], published 2022-02-09