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 the difference b/w linear search and binary search?
(how can these search)

Answer Posted / prabhjot singh

1.linear search is easy bt takes more time to search an
element as it compare all element sequentially...
2.elements r arranged randomly.

1. in binary search it start searching from middle, if the
searching element is not found in middle then it goes to
1/4,and vice versa..
and hence take less time than linear search.
2.elements r arranged in sorted orrder.

Is This Answer Correct ?    32 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abap dictionary or data dictionary? What is the transaction to access abap dictionary? : abap data dictionary

942


How do you use structures in the abap programs?

1052


Why do we use types statement in abap programming?

1121


Why we are using Macros instead of Function Modules

2099


What are the different functions used in sap script? What are the parameters used in each function?

1128


What is a function group? : abap modularization

1043


What is size category?

978


What is erp? : sap abap hr

1071


Suppose the client wants me the vacancy to be displayed on a website as well as ess. How should I do it? : sap abap hr

939


What is an abap dictionary? : abap data dictionary

1033


Specify the types of data dictionary objects.

968


How many ways you can create table? : abap data dictionary

973


If a table that is to be extended contains a long field, we cannot use append structures why? : abap data dictionary

1118


Difference between open sql and native sql? : abap data dictionary

1022


What are conditional chain statement?

1186