Pergunta de entrevista da empresa Apple

Basic leetcode heap and stack implementation. More about research and background.