Geneva Trading interview question

Basic Data structure questions