Sail E0 Webinar
Question
Which of these methods can be used to search an element in a list?
Options:
A .  find()
B .  sort()
C .  get()
D .  binaryserach()
Answer: Option D


binaryserach() method uses binary search to find a specified value. This method must be applied to sorted arrays.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers