write an algorithm which can find the largest number among
the given list using binary search ...............
this was asked in the interview
Answer Posted / shruti
In binary search , we have sorted array.
Hence the last number in the array is the largest number
among the given list.. :-)
Ur interviewer has to be very intelligent.. :-)
Gud ques though..
Is This Answer Correct ? | 18 Yes | 5 No |
Post New Answer View All Answers
What is main return c?
Can you please explain the difference between syntax vs logical error?
There seem to be a few missing operators ..
What is structure in c explain with example?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
What are the loops in c?
Can we use any name in place of argv and argc as command line arguments?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
What happens if header file is included twice?
Why is c so powerful?
Which driver is a pure java driver
How can you convert integers to binary or hexadecimal?
What is else if ladder?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Explain how do you determine a file’s attributes?