BT Group interview question

Singleton, basic data structures