Google Interview Question

Q: How to implement dijkstra algorithm