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

Is unordered_map a hash table?

833


What is the use of heap sort?

799


What can be stored in an arraylist?

893


Mention the data structures which are used in graph implementation.

845


Which interface treemap implements?

943


What is difference between hashtable and hashmap?

975


Write a program to reverse a single linked list.

917


Why sorting is used?

894


Which collection is fail safe?

825


How do you find the index of an element in an arraylist?

844


What is the use of isEmpty() member methods?

952


What is a static structure?

889


What is an object array?

909


What is data type in data structure?

995


What are different techniques for making hash function?

883