Refund Decision Tree Evaluation

Problem: Refund Decision Tree Evaluation

DoorDash has an automatic refund system. The system uses a binary decision tree to decide the outcome for each refund request.

Each internal node repr...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: