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

Ternary Search

B

Binary Search

C

Linear Search

D

Jump 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