• Introduction
      • Implementation
      • Better Approach
      • Binary Search on an Arbitrary Predicate
      • Binary Search on Answer
      • Binary Search on Answer: Example
      • Practice problems
    • Introduction
      • Activity Selection Problem
      • Introduction to Huffman Coding
      • Alphabet
      • Codes
      • Prefix-Free Codes
      • Fixed-Length Binary Codes
      • Variable-Length Binary Codes
      • The Problem: Optimal Prefix-Free Codes
      • Codes as Trees
      • Huffman's Greedy Algorithm
      • Pseudocode
      • Implementation
      • Русский
    • to navigate
    • to select
    • to close
      • Home
      • Searching Algorithms
      • Binary Search
      On this page

      Binary Search

      article

      Introduction

      article

      Implementation

      article

      Better Approach

      article

      Binary Search on an Arbitrary Predicate

      article

      Binary Search on Answer

      article

      Binary Search on Answer: Example

      article

      Practice problems


      © 2025 AlgorithmsHub