This repository contains all the code from my Binary Search YouTube Playlist.
Problem Name | LeetCode Practice | Code (Solution) |
---|---|---|
Binary Search | Problem | Cpp, Java |
Search Insert Position | Problem | Cpp, Java |
First Bad Version | Problem | Cpp, Java |
Find Smallest Letter Greater Than Target | Problem | Cpp, Java |
Find the Distance Value Between Two Arrays | Problem | Cpp, Java |
Kth Missing Positive Number | Problem |
Problem Name | LeetCode Practice | Code (Solution) |
---|---|---|
Peak Index in a Mountain Array | Problem | |
Search in Rotated Sorted Array | Problem | |
Search in Rotated Sorted Array II | Problem | |
Find Minimum in Rotated Sorted Array | Problem | |
Find First and Last Position of Element in Sorted Array | Problem | Code |
Single Element in a Sorted Array | Problem |
Problem Name | LeetCode Practice | Code (Solution) |
---|---|---|
Median of Two Sorted Arrays | Problem |
Problem Name | LeetCode Practice | Code (Solution) |
---|---|---|
Arranging Coins | Problem |
Problem Name | LeetCode Practice | Code (Solution) |
---|---|---|
Minimum Size Subarray Sum | Problem | |
Capacity To Ship Packages Within D Days | Problem | |
Koko Eating Bananas | Problem | |
Heaters | Problem | |
Find the Duplicate Number | Problem | |
Kth Smallest Element in a Sorted Matrix | Problem | |
Minimum Size Subarray Sum | Problem | |
Minimum Limit of Balls in a Bag | Problem | |
Most Beautiful Item for Each Query | Problem | |
Find the Smallest Divisor Given a Threshold | Problem | |
Minimized Maximum of Products Distributed to Any Store | Problem | |
Minimum Absolute Sum Difference | Problem | |
Frequency of the Most Frequent Element | Problem |