what is the difference b/w linear search and binary search?
(how can these search)
Answer Posted / indrani chowdhury
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 ? | 17 Yes | 3 No |
Post New Answer View All Answers
What are the various events associated with screen programming?
Can any tell me ECC 5.0, ECC 6.0 Released year? and difference between them?
What is buffering in abap?
What is hotspot?
In BDC, data transfer is done success in foreground mode but if we done the same in background mode it shows errors. What is the reason?
What are the events in ABAP language?
What is the significance of delivery class? : abap data dictionary
How do you find if a logical database exists for your program requrements?
Explain what are the various types of selection screen event?
What is the BAPI_CUSTMATINFO_GETDETAILM used for? what is the input and output of this bapi.
Hat are the different types of mode (run code) in call transaction method?
What is the table buffer?
Explain what are the events used in interactive reports?
What is the difference between a structure and an append structure?
What is step-loop?