I managed to get to 69% from initially 51%. A bit stuck on my next error message for a small array. Here is my code.
class Solution { public int solution(