IBM interview question

More about data structures