Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the average number of comparisons needed in a
sequential search to determine the position of an element in
an array of 100 elements, if the elements are ordered from
largest to smallest?

Answer Posted / gianni

sorry, the reduced formula should have been

n(1-p/2)+p/2

I forgot a space between the "to" and the "n"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you please explain the difference between array_name and &array_name?

998


Why linked list is required?

852


Is list a data structure?

968


What is sorting with example?

911


Define secondary clustering?

927


Why is quicksort better than mergesort?

928


What is circular linked list?

958


What member function places a new node at the end of the linked list?

1067


What is b tree in data structure?

919


What is an recursive algorithm?

993


Explain multiply linked list in short.

921


What are different types of linked lists?

939


How many parts are there in a declaration statement using data structures?

999


How do you sort large data?

973


What is linear-logarithm chasm?

1030