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

Answer Posted / prabhjot singh

1.linear search is easy bt takes more time to search an
element as it compare all element sequentially...
2.elements r arranged randomly.

1. in binary search it start searching from middle, if the
searching element is not found in middle then it goes to
1/4,and vice versa..
and hence take less time than linear search.
2.elements r arranged in sorted orrder.

Is This Answer Correct ?    32 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between open_form and close_form?

559


In tm, if a group of employees gets 10 days of annual leave, what will be the time evaluation status? : sap abap hr

572


Explain what are the events used for logical database?

544


What is an “on input filed” statements?

642


Events that can be used in both the classical and interactive reports

1133






What actually happens in real-time recruitment? : sap abap hr

589


Can we create field without data element? If yes, how?

700


It is not possible to create an abap/4 program, which contains only subroutines. State true or false. : abap modularization

725


What is abap?

627


Print options in smartforms?

1582


How to transfer the objects? Have to transferred any objects?

585


What is pretty printer?

607


How do you find if a logical database exists for your program requrements?

615


How do you populate data into a multiple line field?

593


hi frends this is bala raju from pune.i want to know diff between 4.7ee and ecc 5.0.if possible give me brief explanation.this question was asked in EDS(tele interview) in pune bye.

1720