Segmed (CA) interview question

Algorithms and data structure questions, nothing particularly difficult.