Practice · 2 of 5
Existence check
CHALLENGE
Difficulty: intermediate+25 XP
Implement boolean anyLonger(String[] words, int k): true when **at least one** word has length strictly greater than k, false otherwise (including the empty array). Return — do not print.
Press Submit to check your solution.
Back to lesson: Practice: Bootcamp drills