Skip to content

Commit ca9ee05

Browse files
author
Joseph Luce
authored
Update #399_evaluate_division.md
1 parent 7f61b56 commit ca9ee05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leetcode/#399_evaluate_division.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# EXPLAINATION
2-
Once the mathy part of the question. I know its a bit tricky to understand how a/b=2.0, b/c=3.0 which means a/c=6.0.
2+
This is not a mathy question. I know its a bit tricky to understand how a/b=2.0, b/c=3.0 which means a/c=6.0.
33
Just keep in mind that you can multiply previous calculated answers. By looking at the examples, you can easily find that relationship.
44

55
So it should be very obvious this is a graph problem. However, unlike other graph problems, edges have weights associated to them. You need to keep track of them when building your graph.

0 commit comments

Comments
 (0)