GK Software interview question

Basic implementation of collections or algorithms