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 / hemant belwal

linear search=n/2
binary search=iog2n,2 in the base of log.

Is This Answer Correct ?    36 Yes 91 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define b-tree of order m?

952


How to get the index of an array element?

1053


What is the height of binary tree?

988


Does treemap sort on key or value?

893


What is meant by strongly connected in a graph?

923


Is vector a collection?

869


Why might quick sort might be better than merge sort?

994


Which sorting is best?

908


What is sorting an array?

910


How do you find the height of a binary tree?

892


What is difference between array and arraylist?

995


Which of the collections allows null as the key?

877


What is the difference between arraylist and array?

1096


What is thread and types of thread?

949


What is complexity of bubble sort?

882