Pregunta de entrevista de Amazon

SQL related questions. Travelling Sales man problem with code. Pandas in python