Expense Rule Engine

Problem: Expense Rule Engine

Implement a simplified expense rule engine. The system has a list of rules. Each rule checks an expense's category and amount. If a rule matches, the engine return...

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: