Home
SELF STUDY
BrowsePracticeTestsPlaylistDoubts & solutionsFree live classesOther courses

Searching Algorithms

Quick practice

Question 1 of 5

There is a function f(x) which is strictly increasing up to a certain point and after that f(x) is strictly decreasing. What will be the best possible algorithm to find the peak value of f(x). (Assume x is a real number).

A

Linear Search

B

Binary Search

C

Jump Search

D

Ternary Search

Get unlimited practice with Competitive Programming subscription

pick

Boost your performance with adaptive practice tests

pick

Practice every concept in the syllabus

pick

Compare your speed and accuracy with your peers

pick

Download the app and practice on the go