Leetcode Stack And Queue Cppreference Arraylist Syntax