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

A field containing quantity amounts (data type quan) must be assigned to a referencetable and a reference field. Explain?

957


What is check table?

1016


What are the time related infotypes? : abap hr

1101


Abstract class and interface, multiple inheritance, live example

1350


What are number ranges?

1074


What are the ways you can do the tuning?

1087


Explain enhancements

1364


What is Group by in Select statement?

1226


What is interactive reporting?

1087


How do you save data in bdc tables? : abap bdc

1094


What are the features of abap/4 dictionary? : abap data dictionary

1074


How are BAPI different from Normal function modules ?

2145


What is value table? : abap data dictionary

1121


What is lock mechanism? How do we create lock objects in abap?

1213


What is the Difference between At Line selection and At user-command?

1256