shirabe.org
Meaning
  1. 1
    English · JMdict
    computing binary search
  2. 2
    English · Wikipedia

    In computer science, binary search, also known as half-interval search or logarithmic search, is a search algorithm that finds the position of a target value within a sorted array. It compares the target value to the middle element of the array; if they are unequal, the half in which the target cannot lie is eliminated and the search continues on the remaining half until it is successful. Binary search runs in at worst logarithmic time, making comparisons, where is the number of elements in the array and is the binary logarithm; and using only constant space. Although specialized data structures designed for fast searching—such as hash tables—can be searched more efficiently, binary search applies to a wider range of search problems. Although the idea is simple, implementing binary search correctly requires attention to some subtleties about its exit conditions and midpoint calculation. There exist numerous variations of binary search. One variation in particular (fractional cascading) speeds up binary searches for the same value in multiple arrays.

    Read full article on Wikipedia · CC-BY-SA

Forms
Save this word to start reviewing it with spaced repetition. Save word

Grammar codex

What the coloured tags mean

Hiragana

ひらがな

The rounded, flowing kana. Hiragana writes native Japanese words, grammar endings, and anything without (or alongside) kanji — it's the first script you learn. Each character stands for one syllable.

Example

ねこ — cat