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
What is abap?
Are you familiar with all steps for setting up a workflow?
Is logo in script 1st stored as tiff format before uploading or in jpeg format?and where is that stored after uploading?
What kind of financial periods exist in SAP? What is the relevant table for that?
What are user exits? What is involved in writing them? What precations are needed?
How do you find out whether a file exits on the presentation server?
How to create a button in selection screen ?
What are the system table used in abap?
What is IMG in SAP?
How do you convert non-char field into char type fields ?
What are null values? : abap data dictionary
What is a badi?
What are two methods of modifying sap standard tables? : abap data dictionary
What are roles and authorization objects?
What is the difference between retroactive accounting period, earliest retroactive accounting period? : sap abap hr