CodingReported in a candidate post, Jul 2020
Evaluate a Decision Tree
Filed under Affirm
The question
Given a modified binary tree representing a decision tree with signals, constants, and boolean leaf nodes, write methods to build the tree, evaluate the expression to a boolean value, and modify a leaf.
No write-up yet. Related questions below have one.
Related Affirm questions
Collected from public candidate posts and coding forums. Updated Nov 2026.