Optiver interview question

Store Management Hashmap + OOP Question