Leetcode Sum Of Two Integers Arraylist