LII Lab interview question

About data structure and algorithm.