Filter Invalid Expenses Based on Rules
Implement a function that takes a list of expenses and validation rules, then returns only the expenses that violate the given rules. Design the solution to be extensible for adding new validation rules.
Asked at:
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Mid July, 2026
Senior
Early July, 2026
Senior
Early July, 2026
Senior
Hello Interview Premium
Your account is free and you can post anonymously if you choose.