LeetCode MEDIUM 399 Evaluate Division Summary
Generated by Codex with GPT-5
Quick facts
- Difficulty:
MEDIUM - Problem: Evaluate Division
- Main tags:
Graph,DFS,BFS,Union-Find
What the problem is really asking
Each equation like a / b = 2.0 gives a multiplicative relationship between two variables.
The query x / y asks:
can the known equations connect x to y, and if they can, what ratio do those equations imply?