1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: List of increasing integers algorithm

  1. Jan 19, 2007 #1
    Specify the steps of an algorithm that locates an element in a list of increasing integers by successively splitting the list into four sublists of equal (or as close to equal as possible) size, and restricting the search to the appropriate piece. (Hint: see binary search algorithm.)

    can any one help me solve this thanku
     
  2. jcsd
  3. Jan 19, 2007 #2
    Do you know much about binary search trees/algorithms?

    A good example, if your curious, would be Morse code.
     
    Last edited: Jan 19, 2007
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook