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

Is pointer a variable in data structure?

1173


Explain what are the major data structures used in the hierarchical data model?

960


What are the difference between arraylist and linkedlist from the perspective of sorting?

955


Explain extended binary tree.

920


What is map entry?

837


Discuss the difference between a stack and an Array?

876


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

888


Do all declaration statements result in a fixed reservation in memory?

888


Can arraylist hold duplicates?

873


Can we make hashmap synchronized?

885


What are the collision resolution methods?

933


What are different types of sorting algorithms?

934


What are stacks? Give some of its applications.

939


Which type of memory allocation is referred for linked list?

1149


What is data type in data structure?

990