Siemens interview question

How does routing work