Gigamon interview question

Shortest path algoritham used in netowrking?