Motorola Solutions interview question

data structures question and algorithm