• + 0 comments

    Your last for loop isn't needed. You can move Math.max to the previous for loop.