intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

In an unordered list

Xem 1-2 trên 2 kết quả In an unordered list
  • We can only do a linear search on an unsorted array, but on a sorted array we can do a binary search. In this chapter we will study two different algorithms for searching, linear search and binary search. In linear search we look through an unordered list until we find the item we are looking for. The length of time it takes to look up something using a linear search will depend upon the size of the list. Imagine trying to look up a name in a telephone directory if it was not alphabetized (sorted). If we were to use...

    pdf9p linhtk93 15-04-2013 52 3   Download

  • Sequential Search In an unordered list In an ordered list Binary Search Forgetful Version Recognizing Equality Comparison Tree Linked List vs. Contiguous List .Searching We are given a list of records. Each record is associated with a key. We are given one key (target), and are asked to search the list to find the record(s) whose key is the same as the target. May be more than one record with the same key.

    pdf28p unknownno30 14-11-2012 54 1   Download

CHỦ ĐỀ BẠN MUỐN TÌM

ADSENSE

nocache searchPhinxDoc

 

Đồng bộ tài khoản
2=>2