implement two stacks in an array leetcode