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 |
How do you populate data into a multiple line field?
how to transport abap workbench objects
How to Read long Text using Scripts
After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then ?
What are internal tables? How to use a specific number occurs statement?
Define database layer?
plz can any one list out the set of questions on support project. I am waiting for ur reply
Landscape of your company and what are their names?
Hat are the different types of mode (run code) in call transaction method?
Logic for using table controls in BDC?
What is the difference between select options and parameters
6 Answers IBM, Unilogic Software,
Suppose, we are creating one table. at that time we are mention table space and size category. Generally size category is from 0 to 6 is available. suppose if we are declare size category as 0(zero). For 0 (zero) the size of rows is from 0(zero) to 19000. I have 25000 records to insert into table. but table size is declared as 0(zero). i.e 19000 records. what about remaining 6000 records. shall i insert in to table or not? if insert how can i do? if not insert what can i do? Please answer me? i faced this one in TCS interview.