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

Can hashmap store null values?

917


What is arraylist load factor?

1085


What is the difference between hashmap and linkedhashmap?

932


Does arraylist contain duplicates?

902


Name two algorithms two find minimum spanning tree?

944


Explain the common uses of threaded binary tree.

1003


Can we give size to arraylist?

974


Can treeset contain null?

892


What are the goals of data structure?

1243


Describe tree database.

900


How to compare Two Arrays?

1025


What is data type and its types?

946


How does the bubble sort work?

928


Define a relation?

949


What is unbounded queue?

926