Binary Search Algorithm

List of Steps

  • See if your initial value is greater than or less than root node
  • if less go left, if greater go right
  • compare your value with the next node
  • repeat this process until you found your value, or ther are no nodes left to search
  • Image:

    Link to other page

    other page