Samsung Electronics Interview Question

Fairly straight forward data structures and algorithm questions.