Practice ยท 3 of 4
Linear Search
Implement int find(const int* a, int n, int target) returning the FIRST index holding target, or -1 if absent.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Array Workbench
Practice ยท 3 of 4
Implement int find(const int* a, int n, int target) returning the FIRST index holding target, or -1 if absent.
Difficulty: beginner
Back to lesson: Practice: Array Workbench