Samsung Electronics interview question

Algorithms and data structure discussions