The array is as follows: 1,2,3,6,8,10. At what time the element 6 is found? (By using linear search(recursive) algorithm)
A. 4th call
B. 3rd call
C. 6th call
D. 5th call
Answer:A
The array is as follows: 1,2,3,6,8,10. At what time the element 6 is found? (By using linear search(recursive) algorithm)
A. 4th call B. 3rd call C. 6th call D. 5th call