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 a complexity of linear search,binery search?

Answer Posted / saurabh teotia

the complexity of linear search is o(n) n that of binary search is o(logn)

Is This Answer Correct ?    66 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why heap sort is not used?

825


Define an abstract data type (adt)?

919


Can we define the size of arraylist?

872


List the data structures which are used in hierarchical data model.

890


What is ds heap sort?

861


When will we get ArrayStoreException?

1113


Is priority queue sorted?

910


Which interfaces are implemented by printerstatereasons?

854


How to sequentially represent max-heap?

855


Define a linear and non linear data structure.

921


Is learning data structures necessary?

827


Write a program for Sorting an Array. Which sorting will you prefer?

920


What is difference between tree and forest?

844


State the difference between queues and linked lists?

947


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

823