Leetcode Stack Using Array Python Initialize Set Cppreference