Why is the code below much faster than the commented out code above? Leetcode beginner here and I honestly don\'t see the difference between the two...?
Thank