athk's blogs

Search

SearchSearch
        • I Wanna Be The Guy
        • Permutation Transformation
        • 1 Two Sum (pending)
        • 3 Longest Substring Without Repeating Characters
        • 5 Longest Palindromic Substring
        • 11 Container With Most Water (pending)
        • 15 3Sum
        • 21 Merge Two Sorted Lists
        • 23 Merge k Sorted Lists
        • 26 Remove Duplicates from Sorted Array
        • 33 Search in Rotated Sorted Array
        • 42 Trapping Rain Water
        • 46 Permutations
        • 49 Group Anagrams
        • 50 Pow(x, n)
        • 53 Maximum Subarray
        • 54 Spiral Matrix
        • 55 Jump Game
        • 56 Merge Intervals
        • 62 Unique Paths
        • 63 Unique Paths II
        • 64 Minimum Path Sum
        • 69 Sqrt(x)
        • 70 Climbing Stairs
        • 74 Search a 2D Matrix
        • 75 Sort Colors
        • 78 Subsets
        • 83 Remove Duplicates from Sorted List
        • 86 Partition List
        • 102 Binary Tree Level Order Traversal
        • 105 Construct Binary Tree from Preorder and Inorde
        • 108 Convert Sorted Array to Binary Search Tree
        • 110 Balanced Binary Tree
        • 112 Path Sum
        • 121 Best Time to Buy and Sell Stock
        • 128 Longest Consecutive Sequence
        • 129 Sum Root to Leaf Numbers
        • 133 Clone Graph
        • 138 Copy List with Random Pointer
        • 139 Word Break
        • 143 Reorder List
        • 144 Binary Tree Preorder Traversal
        • 152 Maximum Product Subarray
        • 153 Find Minimum in Rotated Sorted Array
        • 160 Intersection of Two Linked Lists
        • 165 Compare Version Numbers
        • 167 Two Sum II - Input Array Is Sorted
        • 198 House Robber
        • 199 Binary Tree Right Side View
        • 200 Number of Islands
        • 206 Reverse Linked List
        • 207 Course Schedule
        • 209 Minimum Size Subarray Sum
        • 213 House Robber II
        • 215 Kth Largest Element in an Array
        • 226 Invert Binary Tree
        • 230 Kth Smallest Element in a BST
        • 235 Lowest Common Ancestor of a Binary Search Tree
        • 238 Product of Array Except Self
        • 278 First Bad Version
        • 300 Longest Increasing Subsequence
        • 310 Minimum Height Trees
        • 322 Coin change
        • 344 Reverse String
        • 347 Top K Frequent Elements
        • 349 Intersection of Two Arrays
        • 350 Intersection of Two Arrays II
        • 383 Ransom Note
        • 387 First Unique Character in a String
        • 402 Remove K Digits
        • 404 Sum of Left Leaves
        • 409 Longest Palindrome
        • 424 Longest Repeating Character Replacement
        • 438 Find All Anagrams in a String
        • 441 Arranging Coins
        • 442 Find All Duplicates in an Array
        • 445 Add Two Numbers II
        • 451 Sort Characters By Frequency
        • 463 Island Perimeter
        • 476 Number Complement
        • 494 Target Sum
        • 509 Fibonacci Number (pending) (2)
        • 518 Coin Change II
        • 523 Continuous Subarray Sum
        • 538 Convert BST to Greater Tree
        • 542 01 Matrix
        • 567 Permutation in String
        • 598 Range Addition II
        • 599 Minimum Index Sum of Two Lists
        • 617 Merge Two Binary Trees
        • 623 Add One Row to Tree
        • 633 Sum of Square Numbers
        • 646 Maximum Length of Pair Chain
        • 647 Palindromic Substrings
        • 648 Replace Words
        • 680 Valid Palindrome II
        • 684 Redundant Connection
        • 700 Search in a Binary Search Tree
        • 703 Kth Largest Element in a Stream
        • 713 Subarray Product Less Than K
        • 725 Split Linked List in Parts
        • 735 Asteroid Collision
        • 739 Daily Temperatures
        • 746 Min Cost Climbing Stairs
        • 797 All Paths From Source to Target
        • 804 Unique Morse Code Words
        • 826 Most Profit Assigning Work
        • 840 Magic Squares In Grid
        • 846 Hand of Straights
        • 875 Koko Eating Bananas
        • 876 Middle of the Linked List
        • 877 Stone Game
        • 884 Uncommon Words from Two Sentences
        • 896 Monotonic Array
        • 897 Increasing Order Search Tree
        • 904 Fruit Into Baskets
        • 912 Sort An Array
        • 921 Minimum Add to Make Parentheses Valid
        • 945 Minimum Increment to Make Array Unique
        • 957 Prison Cells After N Days
        • 983 Minimum Cost For Tickets
        • 988 Smallest String Starting From Leaf
        • 991 Broken Calculator
        • 994 Rotting Oranges
        • 997 Find the Town Judge
        • 1007 Minimum Domino Rotations For Equal Row
        • 1011 Capacity To Ship Packages Within D Days
        • 1027 Longest Arithmetic Subsequence (Pending)
        • 1035 Uncrossed Lines
        • 1038 Binary Search Tree to Greater Sum Tree
        • 1046 Last Stone Weight
        • 1079 Letter Tile Possibilities
        • 1122 Relative Sort Array
        • 1137 N-th Tribonacci Number (pending) (1)
        • 1143 Longest Common Subsequence
        • 1143 Longest Common Subsequence (Pending)
        • 1207 Unique Number of Occurences
        • 1208 Get Equal Substrings Within Budget
        • 1221 Split a String in Balanced Strings
        • 1249 Minimum Remove to Make Valid Parentheses
        • 1268 Search Suggestions System
        • 1282 Group The People Given The Group Size They Belong To
        • 1283 Find the Smallest Divisor Given a Threshold
        • 1290 Convert Binary Number in a Linked List to Integer
        • 1305 All Elements in Two Binary Search Trees
        • 1310 XOR Queries of a Subarray
        • 1315 Sum of Nodes with Even-Valued Grandparent
        • 1347 Minimum Number of Steps to Make Two Strings A
        • 1367 Linked List in Binary Tree
        • 1379 Find a Corresponding Node of a Binary Tree in a Clone of That Tree
        • 1380 Lucky Numbers in a Matrix
        • 1382 Balance a Binary Search Tree
        • 1423 Maximum Points You Can Obtain from Cards
        • 1442 Count Triplets That Can Form Two Arrays of Eq
        • 1466 Reorder Routes to Make All Paths Lead to the City Zero
        • 1482 Minimum Number of Days to Make m Bouquets
        • 1493 Longest Subarray of 1's After Deleting One El
        • 1496 Path Crossing
        • 1498 Number of Sequences That Satisfy the Given Sum Condition
        • 1508 Range Sum of Sorted Subarray Sums
        • 1509 Minimum Difference Between Largest and Smallest Value in Three Moves
        • 1518 Water Bottles
        • 1535 Find the Winner of an Array Game
        • 1539 Kth Missing Positive Number
        • 1544 Make The String Great
        • 1547 Minimum Cost to Cut a Stick (yet to solve)
        • 1551 Minimum Operations to Make Array Equal
        • 1557 Minimum Number of Vertices to Reach All Nodes
        • 1561 Maximum Number of Coins You Can Get
        • 1572 Matrix Diagonal Sum
        • 1575 Count All Possible Routes (yet to solve)
        • 1598 Crawler Log Folder
        • 1614 Maximum Nesting Depth of the Parentheses
        • 1636 Sort Array by Increasing Frequency
        • 1653 Minimum Deletions to Make String Balanced
        • 1662 Check If Two String Arrays are Equivalent
        • 1669 Merge In Between Linked Lists
        • 1689 Partitioning Into Minimum Number Of Deci-Bina
        • 1732 Find the Highest Altitude (pending)
        • 1768 Merge Strings Alternatively
        • 1773 Count Items Matching A Rule
        • 1790 Check if One String Swap Can Make String Equal
        • 1791 Find Center of Star Graph
        • 1816 Truncate Sentence
        • 1823 Find the Winner of the Circular Game
        • 1832 Check if the Sentence Is Pangram
        • 1844 Replace All Digits with Characters
        • 1859 Sorting the Sentence
        • 1903 Largest Odd Number in String
        • 1905 Count Sub Islands
        • 1910 Remove All Occurrences of a Substring
        • 1967 Number of Strings That Appear as Substrings i
        • 1974 Minimum Time to Type Word Using Special Typewriter
        • 1980 Find Unique Binary Strings
        • 1992 Find All Groups of Farmland
        • 2037 Minimum Number of Moves to Seat Everyone
        • 2053 Kth Distinct String in an Array
        • 2090 K Radius Subarray Averages
        • 2124 Check if All A's Appears Before All B's
        • 2124 Check if All A's Appears Before All B's
        • 2148 Sort the People
        • 2149 Rearrange Array Elements by Sign
        • 2161 Partition Array According to Given Pivot
        • 2192 All Ancestors of a Node in a Directed Acyclic Graph
        • 2194 Cells in a Range on an Excel Sheet
        • 2196 Create Binary Tree From Descriptions
        • 2208 Minimum Operations to Halve Array Sum
        • 2265 Count Nodes Equal to Average of Subtree
        • 2287 Rearrange Characters to Make Target String
        • 2294 Partition Array Such That Maximum Difference Is K
        • 2315 Count Asterisks
        • 2325 Decode the Message
        • 2342 Max Sum of a Pair With Equal Sum of Digits
        • 2364 Count Number of Bad Pairs
        • 2368 Reachable Nodes With Restrictions
        • 2373 Largest Local Values in a Matrix
        • 2391 Minimum Amount of Time to Collect Garbage
        • 2401 Longest Nice Subarray
        • 2406 Divide Intervals Into Minimum Number of Groups
        • 2415 Reverse Odd Levels of Binary Tree
        • 2428 Maximum Sum of an Hourglass
        • 2433 Find The Original Array of Prefix Xor
        • 2448 Minimum Cost to Make Array Equal (debug pendi
        • 2461 Maximum Sum of Distinct Subarrays With Length K
        • 2563 Count the Number of Fair Pairs
        • 2582 Pass the Pillwo
        • 2610 Convert an Array Into a 2D Array With Conditions
        • 2611 Mice and Cheese
        • 2661 First Completely Painted Row or Column
        • 2697 Lexicographically Smallest Palindrome
        • 2710 Remove Trailing Zeros From a String
        • 2744 Find Maximum Number of String Pairs
        • 2779 Maximum Beauty of an Array After Applying Operation
        • 2785 Sort Vowels in a String
        • 2788 Split Strings by Separator
        • 2798 Number of Employees Who Met the Target
        • 2807 Insert Greatest Common Divisors in Linked List
        • 2810 Faulty Keyboard
        • 2824 Count Pairs Whose Sum is Less than Target
        • 2828 Check if a String Is an Acronym of Words
        • 2849 Determine if a Cell Is Reachable at a Given T
        • 2913 Subarrays Distinct Element Sum of Squares I
        • 2958 Length of Longest Subarray With at Most K Fre
        • 3000 Maximum Area of Longest Diagonal Rectangle
        • 3014 Minimum Number of Pushes to Type Word I
        • 3016 Minimum Number of Pushes to Type Word II
        • 3019 Number of Changing Keys
        • 3066 Minimum Operations to Exceed Threshold Value II
        • 3075 Maximize Happiness of Selected Children
        • 3079 Find the Sum of Encrypted Integers
        • 3131 Find the Integer Added to Array I
        • 3174 Clear Digits
        • 3211 Generate Binary Strings Without Adjacent Zeros
        • 3217 Delete Nodes From Linked List Present in Array
        • Leetcode w me
        • Binary Search
        • Divide and Conquer
        • Dutch National Flag
        • Merge Sort
        • Topological Sort
        • Differences between Stack and Heap allocation
        • Multithreading vs Multiprocessing
        • Minecraft chunk with Procedural Terrain Generation
        • Portfolio site - athk.dev
        • Present - a presentation app
        • The Tail Call Recursion Experiments
    Home

    ❯

    tags

    ❯

    Tag: binary-search

    Tag: binary-search

    2 items with this tag.

    • Aug 19, 2024

      1283 Find the Smallest Divisor Given a Threshold

      • medium
      • binary-search
    • Aug 09, 2024

      1482 Minimum Number of Days to Make m Bouquets

      • medium
      • binary-search

    Created with Quartz v4.2.3 © 2025

    • GitHub
    • Twitter
    • athk.dev (my site)