|

Binary Search

Similar Posts

  • Quicksort

    While the Quicksort is relatively fast, O(nlog(n)) in terms of speed on average, a lot of programmers fear it because they don’t like, understand, or maybe even know about recursion.  Recursion is the process of a function calling itself. There is usually a slight penalty for recursion as each function call is slower than if…

  • Benefits of XML

    XML has many benefits going for it as a format to move data between applications and/or servers. Some of the benefits include: XQuery, which is a tool for searching for nodes with XML. We’ve previously looked at searching XML with XQuery. While different libraries may use different implementations, they generally have something that can be…

  • The Bubble Sort

    The Bubble Sort is one of the simplest sorts you can write, from a developer’s perspective. Unfortunately, it is one of the slowest to run from the computer’s perspective. A bubble sort works on the following idea. Given a list of values, start at the top value and look at the next value. If the…