what is the difference b/w linear search and binary search?
(how can these search)
Answer Posted / anupama singh
| Binary search | Linear search |
-------------------------------------------------------------------------------------------------------------------------
1).Data must be in a sorted order | 1).Data any order
2).Time complexity is O(log n) | 2).Time complexity is O(n).
3).Only 1 "When" condition used | 3).Any no. of "When" condition used
4).Only "=" relation operator is used | 4).any relation operator is used
5).Access is faster | 5).Access is slow
6).Only single dimensional array used | 6).single/multi dimensional array used
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is value table?
What should be the approach for writing a bdc program? : abap bdc
What is the use of table maintenance allowed?
how to Create a smart form related to gate pass to be submitted to vendor’s location. This form outputs document number, date, vendors name, address, material details, quantity, unit,and the company logo.
hi my name is amit i have passed BE(CSE) with honours(72%) in 2006 yr. i have completed SAP/ABAP training with good exposer. i need a staffing company which can provide me real time exposer in SAP R/3. so plz help me out and send any information regarding on my mail id or tele. no. 9999784331 thanks
How many types of buffering? : abap data dictionary
What is the difference between synchronous and asynchronous update?
what are the 2 other types of views, which are not allowed in release 3.0? : abap data dictionary
Can a transparent table exist in data dictionary but not in the data base physically? : sap abap data dictionary
PLEASE HELP ANYONE ON THIS ISSUE,is there any problem with this function module :RHPQ_T77BX_ADD_QUALIS_OF_DPLAN. IT IS TRIGGERING BEFORE COMPLETION OF THE DEVELOPMENT PLAN but it has to trigger after compltion of development plan..this issue raised in my project..so reply urgently..thanks in advance..
please any one can tell me How to validate the data in Table maintinance generator?how can u validate the table field values if u r entering the data into fields .it shows record is wrong?wher we can done validation in table maitenance generator before getting the data as out ?
What are the events used for logical database?
How do you get the number of lines in an internal table?
What does an exec sql statement do in abap? What is the disadvantage of using it?
When was the sap abap being created?