Practice Problem

Evaluate Division

Difficulty: Medium

Given equations like a/b = k, answer queries asking for the result of x/y using graph traversal on a weighted directed graph.