Intel Corporation interview question

some "easy" leetcode questions about stacks.