The following is an example of a directd graph with negative-weight edges for which Dijkstra's algorithm produces incorrect answers:
Applying the Dijkstra's algorihm, we get the following:
The path that we get from s to w is not the shortest. Therefore, we don't get right results.
How could we justify for the general case why we cannot apply the Dijkstra's algorithm on directed graphs with negative-weight edges?