Question
Choose the code snippet which uses recursion for linear search.
Answer: Option A
Was this answer helpful ?
Every time check the key with the array value at first index, if it is not equal then call the function again with an incremented first index.
Was this answer helpful ?
More Questions on This Topic :
Question 3. How can Jump Search be improved?
....
Submit Solution