</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

08

:

03

:

15

:

11

Get this deal
Back to Dashboard

Arithmetic Expression Tree

Medium
FREE

You are given a mathematical expression encoded as a binary tree in JSON format. Evaluate the expression and return its integer result.

Each node in the tree follows one of two forms: ...