what are the Pre requisites for binary search?
Answers were Sorted based on User's Feedback
Answer / parthan
The pre-request for binary search is you have to do SORT the internal table. Then use binary search for the internal table. otherwise performance issue for the internal table.
Is This Answer Correct ? | 33 Yes | 6 No |
Answer / vaidehi
prereqisite for binary search is internal table must be in
sort order.otherwise binary search will start from the
first record if the same record exists again it cant
search properly .
Is This Answer Correct ? | 20 Yes | 3 No |
Answer / sowjanya
The list of array(elements or items) that are to be searched
for a required element should be in ascending order or
sorted order for the search to be performed.
Eg: 21, 3, 4, 2, 5
search for 2
not found
2, 3, 7, 56, 133
search for 2
found
Is This Answer Correct ? | 16 Yes | 7 No |
Answer / prashant sharma
The pre-request for binary search is you have to do SORT the internal table. Then use binary search for the internal table. otherwise performance issue for the internal table
Is This Answer Correct ? | 3 Yes | 0 No |
What are the sequences of event block?
what is tablemaintanance generator ? how to create it?
What are the components of sapscript?
What are the restrictions on subscreens?
what is use of sap script text file header?
hi friends i am having one doubt. if i have main window in secondpage also in smart form wether it will trigger are not?
can any post me all steps in MM ,SD, PP FLOW in detail?
Can we create a data element without domain?
How to handle error in session method? : abap bdc
how do you transport lsmw data from one system to another?
The max number of calling modes stacked at one time is?
How to eliminate duplicate entries in internal tables? : abap data dictionary