Can we use binary search in internal table sorted in decending
order ? if no why?

Answer Posted / arpit gupta

Algorithm wise Binary Search works with sorted data both ascending or descending , but in ABAP to perform binary Search Data Must be sort in ASCENDING order, So the answer to the question is NO

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Field group?

671


What is the use of program rsbdcsub? : abap bdc

653


What are the differences between primary and secondary indexes?

622


What are logical databases? What are the advantages of logical databases?

531


How will u handle the situation – In a report using function module to generate a IDOC, How will u handle the error IDOC in the same report ?

1678






Which function module reads the data for particular infotype ? : abap hr

565


stock transfer from one plant to another plant ? i want the total description.

1583


what are the problem we face during development( if we say v are in support(development)? what are the critical problems araises during LSMW updation and Smart form layout development for involce and po? very very important questions now a days commonly asking..plz plz reply me

1551


What are the different types of parameters?

573


What is repository info. Systems?

619


What is the company code? : sap abap hr

584


From Excel to ABAP - Is batch mode possible ?

588


What’s value table?

596


How can I make a differentiation between dependent and independent data? : abap hr

567


What are the different types of sapscript symbols?

636