Snap interview question

Something to do with stack