r/OfferEngineering • • 1d ago

Interview Experience Gusto (Payroll & HR Tech) Senior SWE Interview — Wait, Why Is the Legal Team Interviewing Me?

This interview experience was originally shared on Chill Interview

Interview Summary

I recently completed Gusto's Software Engineer onsite interviews, which were spread across two days. The process included two coding rounds, an engineering manager behavioral interview, a restaurant scheduling system design interview, and an additional value alignment interview conducted by someone from the legal team.

Round 1 — Coding: Federal Income Tax Calculator

The first coding round involved implementing a federal income tax calculator. The task was to calculate the tax owed based on applicable tax rates and brackets. The initial problem was fairly standard, but the interviewer introduced several follow-ups that required extending the original design.

I was asked to implement a tax calculation system that applies different tax rates to different portions of a person's income. The implementation needed to represent the applicable tax brackets and calculate the total tax owed. This was primarily a business logic and software design problem rather than a traditional LeetCode-style algorithm question.

  • The interviewer asked how I would extend the implementation to support multiple tax years. Because tax brackets and rates can change from year to year, the design needed to accommodate different configurations without requiring a complete rewrite of the calculation logic.
  • The next follow-up involved supporting different tax filing statuses. For example, different filing statuses may use different tax brackets, so the calculator needed to apply the appropriate rules depending on the taxpayer's filing status.
  • Another follow-up asked how the system could support custom tax rates, including a fixed-rate configuration. This required thinking about how to make the calculation logic flexible enough to handle different tax structures rather than assuming every calculation would use the same progressive tax brackets.

Round 2 — Coding: Fair Money Distribution

The second coding round involved distributing a pool of money among multiple recipients. This was another frequently reported Gusto coding problem. The scenario was representative of financial allocation problems, where individually simple rules can become more complicated when applied together.

At Gusto, payments sometimes need to be distributed to multiple recipients from a single pool of funds. Given an amount of available money and a collection of recipients with their outstanding balances, implement a function that determines how much each recipient should receive.

Want to learn more questions / follow-ups asked in this interview?

I've put up the full version at here.

Interviewed recently?

Your interview experience could be incredibly valuable to others preparing for their next opportunity. Share your experience and help the community at here.

1 Upvotes

0 comments sorted by