Capital One interview question

Technical - Implementing a stack, string manipulation, find missing number.