What is the difference between a binary search and a
sequential search?

Answer Posted / muthu

binary search runs in O(logn) time whereas linear search
runs in O(n) times thus binary search has better
performance.

Is This Answer Correct ?    36 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

example for sub strings ? and refernce modifications whit output pls

1948


what is amode(24), amode(31), rmode(24) and rmode(any)?

790


What is the difference between structured cobol programming and object alternativelyiented cobol?

855


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2165


What is comp-1 and comp-2?

851






How to know whether the module is dynamical or statistical?

750


how do you reference the variable block file formats from cobol programs

803


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1864


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2763


What type of SDLC u followed? Why?

1634


Which is not true about evaluate statement

1844


In COBOL, what is the different between index and subscript?

851


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2069


Explain about different table spaces.

744


What kind of error is trapped by on size error option?

832