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

What is heap with example?

994


Why would we use dynamically allocated arrays vs vectors?

935


What are the difference between a stack and a queue?

1010


What is an example of an array?

1126


Is list a data type?

955


What are the types of map?

982


Which is faster array or linked list?

957


How are elements stored in hashset?

1017


How will you represent a linked list in a graphical view?

1095


Differentiate between set and map.

1279


what is the difference between Linear Array and Linked List?

1110


What is difference between data type and data structure?

869


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

879


Which algorithm is used in arrays sort?

954


What is the impact of signed numbers on the memory?

983