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

How to add a column to a table control while using alphanumerical layout editor ?

1793


how to genernate 21 sencondary index

7035


Explain what are the different functions used in sap script?

550


What are the commands used for interactive reports?

574


what comes in Timkein written test I hope some body can tell me at this id plz tell it before 9 pm 19 march

1662






while implementing badi what are the tables u find??

3623


What is off cycle payroll run

1951


What are standard layouts sets in the sap script?

557


What is asynchronous and synchronous update?

583


What is difference between dependent and independent data?

567


What is the use of table control in bdc is it same in module pool table control? : abap bdc

678


How is conversion of data types done between abap/4 & db layer? : abap data dictionary

656


what is sap scriptview ?

1738


what is the purpose of BAPI BAPI_CUSTMATINFO_GETLIST What is input and output of this BAPI.

2102


Explain the properties of selection screen?

654