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
How are the next sentence and continue different from each other?
What are literals?
what is search and searchall?what is the diffrence between them?give an best example?
What is the difference between goback, stop run and exit program in cobol?
What is comp-1 and comp-2?
What is redefines clause in COBOL?
) How do u handle errors in BMS macro
Explain how to differentiate call by context by comparing it to other calls?
What is link edit in cobol?
how to access the file from prodution from changeman tool and to submit a file to production
IF I mention stop run in CICS what happens?
Explain what you understand by passing by value.
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
How arrays can be defined in COBOL?
how do you reference the variable unblock file formats from cobol programs