The test case is: 89, 12, 12, 98, 111, 42, 98, 98, 98, 71 The value should be 3 right ? because the longest sequence of repeating numbers is three 98. Thank you for your time for reviewing my code.