Leetcode Stack Using Array Python Initialize Set Cpp Stl