Software Engineer • Mid-Level
Software Engineer • Mid-Level
High QualityPrep Other Coding Questions Asked by Rippling
Continue with targeted prep from Rippling's coding question bank.
Interview Summary
The first Rippling technical round was an AI-assisted coding interview centered on building an extensible expense-rules engine. The problem progressed from evaluating individual expenses, to rules over entire trips, and finally to discussing nested composite conditions such as AND, OR, and NOT.
Although AI was explicitly part of the interview, the round still placed significant emphasis on independent problem decomposition, object-oriented design, communication, and code structure. I passed the round after spending the early portion clarifying requirements and designing the core abstractions before using AI for implementation details.
Interview Details
AI Coding — Expense Rules Engine
The task was to build a system that evaluates employee corporate-card transactions against configurable company expense policies. Each expense was represented as a dictionary with fields such as: expense_id, trip_id, amount_usd, expense_type, vendor_type, and vendor_name.
For example, a record could conceptually look like: {"expense_id": "E42", "trip_id": "T7", "amount_usd": "64.50", "expense_type": "meal", "vendor_type": "restaurant", "vendor_name": "Harbor Grill"}. The key design requirement was that rules should be treated as data, rather than hard-coding a separate if statement for every policy.
The system was expected to support adding new rules later without rewriting the main evaluation engine.
-
Part 1 — Rules on Individual Expenses
The first part asked for an
evaluate_rules(rules, expenses)style interface. Example policies included:- Restaurant spending cannot exceed a specified amount.
- Airfare expenses are prohibited.
- Entertainment expenses are prohibited.
- No individual transaction may exceed a global spending
Unlock Full Details
Create a free account to unlock this interview experience report.