Tenable interview question

Shortest path algorithms, and sql queries