Search
⌘K
Get Premium
Leetcode 1612. Check If Two Expression Trees are Equivalent
Given two expression trees containing operators, variables and constants, determine whether they represent the same algebraic expression by accounting for operator properties (like commutativity and associativity) and simplifications — i.e., normalize or canonicalize the trees so equivalent expressions match.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.