Binary Search

Similar Posts

  • Data Transformations

    Data transformation is often simple like splitting a full name into the first and last, or vice versa. However, sometimes it is more complicated, much more complicated. I once wrote a data converter which had to convert data stored in a file with the size of data store being a certain number of bytes into…

  • Tower of Hanoi

    The Tower of Hanoi, sometimes called the Tower of Brahma puzzle, is one of the classic problems to look at if you want to learn recursion. This problem is good to understand how recursive solutions are arrived at and how parameters for this recursion are implemented. We look at the solution in another post. The…

  • Merge Sort

    Like the Quick Sort, the Merge Sort uses a divide and conquer method to help sort the data. In a given array, you start to subdivide your array into smaller arrays, sorting the data as you go along, only to merge it back together when you are done. The way you sort the data is…