Asekd few questions about processes/threads etc before the coding question.
https://leetcode.com/problems/max-stack/