Sail E0 Webinar
Question
Select the code snippet for Jump Search.
Options:
A .  public int jumpSearch(int arr[], int key){
B .  public int jumpSearch(int arr[], int key){
C .  public int jumpSearch(int arr[], int key){
D .  None of the mentioned
Answer: Option B


After finding the correct block of k elements, a sequential search is performed in this block.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers