Samsung Research America Interview Question

Algorithms, algorithms and algorithms.