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 / geetika sharma

No, Above answer is wrong. The complexity of Linear search
is O(n) and
Binary search is O(log n) at the base 2

Is This Answer Correct ?    212 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why null is allowed in hashmap?

873


What is bitonic search?

945


Define dynamic data structures?

1015


What is list and types of list?

849


Which is better than array and linked list?

936


What sorting algorithm does arrays sort use?

821


What is the difference between hashmap and arraylist?

1005


Is hashset thread safe?

983


Does linked list allow null values?

812


Define in brief an array. What are the types of array operations?

1202


What are the operations that can be performed on a stack?

913


Define non-terminal nodes in a tree?

1151


Can you please explain the difference between string and an array?

1121


List the applications of set adt?

908


What is stable sorting?

869