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 / guest

in linear search each element in the array should be checked
until the required element got searched whereas in binary
search array is divided into two and required element is
searched

Is This Answer Correct ?    28 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you are using c language to implement the heterogeneous linked list, what pointer type should be used?

1009


Is array a data structure?

945


Is list a data structure?

910


What is a hash index?

826


Why sorting is done?

812


What is time and space complexity of bubble sort?

757


How can I search for data in a linked list?

892


Which data structure is used to perform recursion?

933


Describe full binary tree and complete binary tree.

839


What is data and information explain with example?

896


What is impact of signed numbers on the memory?

848


Write the algorithm for converting infix expression to postfix expression?

917


Can we extend an array after initialization?

991


Is sorting a math skill?

883


Can tuple be sorted?

867