AKUNA CAPITAL interview question

Implement a basic version of a data structure