Frage im Vorstellungsgespräch bei Jane Street

Coding problem on the class methods implementations with follow-up tasks