what is the difference b/w linear search and binary search?
(how can these search)

Answer Posted / greeshma and arya

time complexity of linear search is O[n] whereas that of binary search is O[logn].therefore binary search is faster than linear search.

Is This Answer Correct ?    23 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does the call transaction method allow multiple transactions to be processed by sap?

753


How do you find number of records present in internal table?

771


What is SAP Data conversion ?

798


IN SCRIPTS IF WE HAVE EMPTY SECOND LAYOUT AND IF WE HAVE MENTIONED ABOUT IT IN NEXT PAGE ATTRIBUTE THEN IN OUTPUT HOW WE GET THE SECOND PAGE OUTPUT.

1694


What is the tcode for sapscript forms?

863


HI GUYS , FOR SAP INSTITUTION ATOS I BEST OR NOT? IAM PLANNING TO LEARN SAP COURSE IN ATOS... GIVE ME UR SUGGESTION ABOT ATOS?

2616


What is pass by value and what is pass by reference? Which is better?

1082


Give 3 scenario of reporting due to which you require reporting help of ABAP consultant?

1864


What are different ABAP editors? What are the differences?

801


When the top-of-page event does get triggered?

874


Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subrc after perform?

820


Write an abap program for creation of customer enquiry using BAPI 'BAPI_INQUIRY_CREATEFROMDATA'.

1958


How many tables are there in sap?

833


How will you insert record in a sorted table

1047


What is retro active accounting

1796