Practice · 5 of 5
Q3: first match index
CHALLENGE
Difficulty: intermediate+25 XP
Implement firstAbove: the index of the first Integer strictly greater than threshold, or -1. A filter + sentinel — with the fix of Module 1's findFirst already built in (return immediately).
Press Submit to check your solution.
Back to lesson: Practice: FRQ ArrayList lab