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

What is linked list in data structure?

1021


Parenthesis is never required in postfix or prefix expressions, why?

901


Is queue fifo or lifo?

887


Which interfaces are implemented by linkedlist?

937


If you are using c language to implement the heterogeneous linked list, explain what pointer type will you use?

989


Does hashset maintain order?

935


Can a hashmap have duplicate keys?

929


What is the minimum number of nodes in an avl tree of height h?

886


What are the disadvantages of linear list?

913


What is meant by ordered and sorted in collections?

900


How many types of data structures are used?

986


What happens if we try to insert duplicate key in hashmap?

817


List out the applications of a linked list?

885


What is sequential search?

946


Which sorting algorithms are in place?

897