Free written solution
Satisfiability of Equality Equations (LeetCode 990): Solution and Explanation
Decide whether a list of one-letter equations like a==b and b!=c can all be true at once.
Read the intuition, approach, code and complexity →