Bloomberg interview question

Create a data structure than can add, remove and getRandom objects.