LeetCode: Plus One

Approach 1