Amazon interview question

How does tracert work?