LeetCode Question · Jul 2022 · Los Angeles

Microsoft | Phone | Create Expression Tree with Operator Order

SWE Phone Screen Easy
103 views 1 reply

Question Details

Return expression tree with given tokens and operators. If operatorIndex is smaller, this operator must be close to top of the tree (order by operatorIndex). inputs: tokens = [\'6\', \'+\', \'2\', \'*\',...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Binary Tree Heap Recursion