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

What is the best case complexity of bubble sort?

807


How to increase stack limit in w3wp.exe?

1008


What is array and its types in data structure?

887


Explain the Array

935


What is bubble sort algorithm in data structure sort and searching?

837


Define distributed query and linked server?

886


What is the Insertion Sort Code?.

978


Which data structures are used in bfs and dfs algorithm?

972


How do I sort hashset?

858


How do I sort a hashmap key?

818


Define biconnectivity?

835


Which sort algorithm is best?

837


Define red-black trees.

894


What do you mean by secondary clustering?

883


What does arraylist remove return?

841