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 / ankita dey

Linear Search-O(n)
Binary Search-O(log n)

Is This Answer Correct ?    48 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sorting in math?

874


Can you distinguish between ArrayList and Array?

1031


What is a pass in bubble sort?

854


Can hashmap store null values?

862


How null key is handled in hashmap?

861


What are control structures?

908


how to display Singly Linked List from First to Last?

840


How to traverse data in a linked list in forward and backward direction, write the algorithm?

886


What is a directed graph?

910


What are the different types of data structures explain briefly?

1009


If you do not initialize an array what will happen?

975


What do you mean by the term “percolate up”?

915


Can you sort a hashset?

877


Differentiate between hashset and treeset.

948


What is storage structure in data structure?

876