Data Engineer • Mid-Level
Data Engineer • Mid-Level
High QualityInterview Summary
The Pinterest Data Engineer phone screen followed a SWE-style coding format rather than a SQL- or pipeline-heavy DE interview. The coding question was a Splitwise-style balance-settlement problem: given a collection of shared expenses, compute everyone's net balance and return any valid sequence of repayments that brings every balance back to zero.
Interview Details
Coding — Splitwise / Settle Group Balances
A group of people shares expenses during a trip. Each transaction specifies:
- The person who paid
- The total amount
- One recipient or a list of people who should split the expense
When multiple people share an expense, the amount is divided equally among them. The task is to return any valid sequence of repayments in the form: (payer, receiver, amount). After applying those repayments, every person's net balance should become zero.
The base problem does not require minimizing the number of repayment
Unlock Full Details
Create a free account to unlock this interview experience report.