IMC Trading interview question

Implement a special addition stack