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 exact functionality of the END-OF-SELECTION event? and in a report im using the END-OF-PAGE and END-OF-SELECTION events which one will triggers first?
What will happen when we use single buffered selected?
What function does data dictionary perform?
What is Internal Table?
14 Answers Atos Origin, Globel,
how to find the report is classical or intractive report in debugging mode
What are client dependent objects in ABAP or sap?
What is page window?
Why do we use Process On Value Request(POV) event instead of data element,search help in module pool.
Can I create a Transaction code for a custom Table ? If Yes How can I ?
Can I Get the field name's of mara table.
What happens when a table is activated in DD?
in scripts how to upload logo (it's saved in .bmp file ) i am asking procedure?