☕
4 ptsCS A · FRQ Trainer
Free-response 1 of 1 · Unit 6: Array
Prompt
Write a method `findLongestStreak(int[] arr)` that takes an array of integers and returns the length of the longest consecutive sequence of identical numbers. For example, if arr is {1, 2, 2, 2, 3, 3, 1}, the method should return 3.
Keep writing to unlock scoring (0/120)
Write your response first — then grade it with AI or self-score against the rubric.