LeetCode Solutions

Binary Search

Classic sorted-array search plus binary search on a monotone feasibility answer. The focus here is monotone predicates and answer search. Official LeetCode problems are linked on every page instead of being mirrored here.

1 published solutions
3 distinct tags
0 easy / 1 medium / 0 hard difficulty mix
May 21, 2026 most recently updated page

Published pages in this category

Every page keeps the problem summary, recognition pattern, reasoning, pitfalls, and the exact C++ source used on the site.

Binary Search #01

Koko Eating Bananas

Medium

Find the minimum eating speed that still finishes every pile before the deadline.

Solved binary searchbinary search on answerfeasibility check