Domanda di colloquio di Samsung Electronics

algorithm/CS based problem