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 is need of function group for function modules whereas there is no need of f.group for subroutines?
2 Answers Cap Gemini, DFS, HCL, IBM, NTT Data,
hi.. sap sd is installed in my PC .i m unable to start becoz ,i have given wrong password many times and it's locked.please tell me how can i open SAP logon. tell the process at my id dst.noida@rediffmail.com please advance thanx
What are work process in ABAP?
We created ZEMP table now i want to add more data but previous data should not disturb how can i do this?
Hi Toall abap gurus what are the variants in alv reports ? and what is the use of reuse_alv_variants_get ? and what is the purpose of i_save parmaetr in the resue_av_grid-display funmodule? what is the purpose of reuse _av_default_varinat_get ? Thanks in advance for ur answers kumar
Can we write inner join between transparent table and cluster table? If both having common fields?
what is the difference b/w linear search and binary search? (how can these search)
15 Answers HCL, IBM,
Explain different types of locks?
What is sap abap data dictionary?
How do you write a function module in SAP? describe.
What are different abap/4 editors?
what are the processing modes of a function module?