Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

Shortest path between two nodes in an undirected graph using k edges

Revision en1, by NhatHuy08052015, 2026-02-04 16:45:26

I saw that the version where the graph is directed I can solve it with dynamic programming, any ideas about the undirected one?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English NhatHuy08052015 2026-02-04 16:45:26 199 Initial revision (published)