The Jonah Group interview question

Implement a certain method in a data structure.