Easiest Question Of Leetcode Java