Question :
The array is as follows: 1,2,3,6,8,10. Given that the number 17 is to be searched. At which call it tells that there's no such element? (By using linear search(recursive) algorithm)
1. 7th call 2. 9th call 3. 17th call 4. The function calls itself infinite number of times Answer :
1 - 7th call
|