I see that dijkstra (and some shortest path algorithm) have a lot of variants like the roads have color, money and time to pass on a road,... etc. So, how to I practice them and how should I thinking for these problem.
Anyone please help me, I'm very need a help now, my national team selection contest is coming.