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 / naresh kumar

complexity of linear search 0
n binary search 0log(n)

Is This Answer Correct ?    14 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we put null key in hashmap?

856


Which is best book for data structures?

896


Define 2-3-4 tree?

842


Which is better hashset or treeset?

951


Is selection sort greedy?

842


Write the disadvantages of separate chaining?

863


Does treemap allow null key?

820


Is hashtable better than dictionary?

915


For the following COBOL code, draw the Binary tree? 01 STUDENT_REC. 02 NAME. 03 FIRST_NAME PIC X(10). 03 LAST_NAME PIC X(10). 02 YEAR_OF_STUDY. 03 FIRST_SEM PIC XX. 03 SECOND_SEM PIC XX.

1258


Differentiate between singly and doubly linked lists?

933


How to do the intersection of two sorted arrays?

983


in tree construction which is the suitable efficient data structure? (Array, linked list, stack, queue)

1202


What does arrays tostring do?

821


How to reverse singly link list?

892


Can we use ordered set for performing binary search?

871