

MCQOPTIONS
Saved Bookmarks
1. |
Choose the code snippet which uses recursion for linear search. |
A. | public void linSearch(int[] arr, int first, int last, int key){ if(first == last |
B. | public void linSearch(int[] arr, int first, int last, int key) { if(first == last |
C. | public void linSearch(int[] arr, int first, int last, int key){ if(first == last |
Answer» B. public void linSearch(int[] arr, int first, int last, int key) { if(first == last | |