Stack Using Arraylist Leetcode Solutions Two Sum