Stack Exchange
open access
CC BY-SA
Why is binary search faster than ternary search?
Searching an array of $N$ elements using binary search takes, in the worst case $\log_2 N$ iterations because, at each step we trim half of our search space. If, instead, we used 'ternary search', we'd cut away two-thirds of our search space at each iteration, so the worst case should take $\log_3 N < \log_2 N$ iterations... It seems that ternary search is faster, so why do we use binary search?
Conceptio Open Archive
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
This document is indexed with metadata only: full text is not available in the archive for this record. Open the official source ↗
Related documents
- An Empirical Cost Attribution of Context-Compression Gateways in Multi-Turn Coding Agents#1036797
- Why Spinoza is Not an Eleatic Monist (Or Why Diversity Exists)#752860
- The Humane Gate: A Scientific Blueprint for Algorithmic Gatekeeping in Social Media Platforms#295831
- Peering into the algorithmic black box: algorithmic governance and information heterogeneity on digital platforms#328168
- Understanding the Mechanism of Low-Temperature NH<sub>3</sub>–SCR Half-Cycle on Cu-CHA Using Automated Reaction Path Search#273659
Record · ID 796591
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive