Hi,
Leetcode started not to show correct line numbers of errors. In the below example, line 4 has nothing to do with IndexOutOfRangeException.