Evaluate Transaction Rules with Nested Boolean Expressions

Implement a transaction rule evaluator. Given transaction records and an ordered list of rules, determine whether each transaction is ACCEPT or DENY.

Each rule has an action and a Boolean express...

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: