Samsung Research America interview question

Data structure and algorithms.