Dijkstra's algorithm with greedy technique in DAA Course| working | time complexity | with example