Nokia interview question

data structures