LeetCode 399 gives equations like a / b = 2.0 and asks for queries like a / c. The trick: each equation is a weighted edge.
I work on Linkjob AI, an AI interview assistant for live technical interviews.