Interactive Brokers interview question

Collections pattern matching questions