Pregunta de entrevista de Samsung Electronics

Travelling salesman problem and adding a element in linked list.