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 / saurav

i dont think the above answer is correct..it should be (N+1)/2
according to me..if my answer is not correct,can anyone
explain me the reason..

Is This Answer Correct ?    54 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are different methods of collision resolution in hashing.

950


Why do we need linked list?

837


Define b-tree of order m?

955


Which is faster hashmap or concurrenthashmap?

904


How does a treemap work?

1002


What is meant by heap sort?

869


Can a tree be empty?

888


Explain about set and their types in a collection?

860


What do you mean by linear probing?

1061


How do you sort a collection in descending order?

925


Is array immutable?

910


What is a b+ tree? Explain its uses.

956


Where is insertion sort used?

919


Does treemap allow null values?

868


What is a postfix expression?

1007