rippling logo
Rippling· SDE II

SSE| Rippling| Reject

Posted
3 Jun 2025
473 reads

Summary

I was rejected after a Coderpair round at Rippling where I was asked to implement a rule validation system for expenses.

How it went

Got this question in Coderpair round:

We have a list of expense and rules. Aim is to validate rules for each expense.

Each expense is similar to

{ 
expenseid: "1"
itemId: "Item1"
expensetype: "Food"
amountInUsd : "250"
sellerType : "restaurant"
SellerName "ABC restaurant"

}

List of rules similar to
- Total expense should not be > 175
- Seller type restaurant should not have expense more that 45
- Entertainment expense type should not be charged


Run the rules on expense and flag the rule which do not satisfy. Implement following:

evaluateRule(List<rule> , List<expense>)

Questions asked (1)

  1. 01

    Expense Rule Validation System

    Data Structures & Algorithms · Medium

    We have a list of expense and rules. Aim is to validate rules for each expense.

    Each expense is similar to

    { 
    expenseid: "1"
    itemId: "Item1"
    expensetype: "Food"
    amountInUsd : "250"
    sellerType : "restaurant"
    SellerName "ABC restaurant"

    }

    List of rules similar to
    - Total expense should not be > 175
    - Seller type restaurant should not have expense more that 45
    - Entertainment expense type should not be charged


    Run the rules on expense and flag the rule which do not satisfy. Implement following:

    evaluateRule(List<rule> , List<expense>)

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Rippling recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!