Robinhood Interview Question

Implement a specific collection from Python collections