Microsoft interview question

Find edges in shortest paths