• + 1 comment

    i think this would fail for the case of 1, n+1 will be 2 where the correct answer is just 1