Siemens interview question

Fixing bug in the code, asked about algorithm choices to do certain task more efficiently, and graph problems