Friday, 19 July 2013

Algorithm for Linear Search

  1. Set data[n+1]=item
  2. Set loc=1
  3. Repeat while data[loc]=item
  4. Set loc=loc+1
  5. If loc=n+1, then set loc=0
  6. Exit

1 comment:

  1. Casino Games - JT Hub
    Welcome 태백 출장마사지 to 수원 출장샵 Jammy Monkey! You can play our classic online slots and classic table games from the 순천 출장샵 comfort of home. 동해 출장마사지 The casino 벳 인포 is also home to the largest

    ReplyDelete