I read in Wikipedia about Dijkstra's algorithm. And I have a question: is this algorithm considered as dynamic programming?

    1 answer 1

    Not. In dynamic programming algorithms, the order of calculation of intermediate results is fixed - here the vertices of the graph are bypassed in an unknown order in advance.

    But Dijkstra's algorithm belongs to the class of "Greedy" algorithms.