cswork / libraryOpen practice workspace

Interview guides · Happy Money

Happy Money Software Engineer Interview Guide

Happy Money Software Engineer interview guide: reported rounds, questions and how candidates describe the process.

The 60-second brief

At Happy Money, a Software Engineer plays a crucial role in building and scaling the financial technology platforms that help users eliminate debt and achieve financial mindfulness. The engineering team is responsible for developing the core underwriting engines, loan origination systems, and member-facing applications that directly impact how thousands of users manage their financial health. As a Software Engineer, you will work on highly complex, distributed systems that handle sensitive financial data and require exceptional reliability, security, and performance. The engineering organization is currently focused on modernizing its infrastructure, which includes migrating legacy services—historically built on Ruby on Rails—into modern, high-performance microservices, utilizing JVM-based languages and functional programming paradigms like Clojure.

This guide is scoped to a Software Engineer candidate at Happy Money.

Focus areas

  • Coding Challenges (Timed Programming Exercises)
  • Algorithmic Problem Solving (General)
  • Data Structures & Algorithms (DSA)

The Happy Money interview process

Happy Money candidates report 3 rounds over 3-5 weeks. The stages below are what candidates describe, not a published process.

Recruiter Screen

Initial discussion to align on background, career goals, and compensation expectations.

What to demonstrate

  • Initial discussion to align on background, career goals, and compensation expectations
  • Depth in Coding Challenges (Timed Programming Exercises)

How to prepare

  • Be able to walk your CV end to end in two minutes, and say why this company specifically.
  • Have your salary expectations, notice period and location constraints ready, and ask for the rest of the loop in writing.

Technical Screening

Includes a timed online coding challenge on HackerRank or a technical conversation with a hiring manager.

What to demonstrate

  • Includes a timed online coding challenge on HackerRank or a technical conversation with a hiring manager
  • Depth in Coding Challenges (Timed Programming Exercises)

How to prepare

  • Answer aloud and timed: Given an array of financial transaction amounts, find the maximum subarray sum using an optimized approach to avoid execution timeouts.
  • Answer aloud and timed: Design a utility function to parse and validate complex nested JSON payloads representing loan application data.

Virtual On-Site Interview

Multiple panels focused on coding, system design, and behavioral evaluations.

What to demonstrate

  • Multiple panels focused on coding, system design, and behavioral evaluations
  • Depth in Coding Challenges (Timed Programming Exercises)

How to prepare

  • Answer aloud and timed: Design a scalable rate-limiting service to protect internal financial APIs from abuse.
  • Answer aloud and timed: How would you architect a secure ledger system to record loan disbursements and repayments?

Where candidates lose points

Optimize for Time Complexity

When taking the online coding challenge, prioritize writing an efficient algorithm from the start. Several candidates have reported failing test cases due to execution timeouts on less-optimized, brute-force solutions.

Do not rely on brute-force coding solutions

Ensure you analyze the time complexity of your algorithms before finalizing your submission to prevent timed-out test cases on HackerRank.

Inquire About Tech Stack and Team Roadmap

During your interviews, show proactive interest by asking about the current state of their technology migration. Asking how your target team balances legacy Ruby maintenance with new Clojure development demonstrates mature engineering foresight.

Questions & practice

Write an algorithm to find the first non-repeating character in a stream of data and optimize it to run in lin

Medium · Coding & Algorithms

Write an algorithm to find the first non-repeating character in a stream of data and optimize it to run in linear time.

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

Implement a function to detect cycles in a directed graph representing transaction dependencies.

Medium · Coding & Algorithms

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

Given an array of financial transaction amounts, find the maximum subarray sum using an optimized approach to

Medium · Coding & Algorithms

Given an array of financial transaction amounts, find the maximum subarray sum using an optimized approach to avoid execution timeouts.

Approach

  1. Restate the input: its shape, its size, and what is guaranteed about it.
  2. Name the brute-force solution and its complexity before improving on it.
  3. Choose the data structure from the access pattern, not from familiarity.
  4. State the target complexity and say which constraint rules the naive version out.

Follow-up

  • How does this change if the input no longer fits in memory?
  • What is the worst case, and how likely is it on real data?

Hold a per-tenant active cap against concurrent creates

Hard · write skew · isolation levels · constraints

A tenant on the standard plan may hold at most 50 resources with status='active'. The create handler runs SELECT count(*) FROM resource WHERE tenant_id = $1 AND status = 'active', compares to 50, then inserts. Two creates arrive 3 ms apart on different instances and the tenant lands at 51. Name the anomaly, say whether PostgreSQL 16 READ COMMITTED or REPEATABLE READ prevents it and why, then give an implementation that holds the cap at READ COMMITTED with the exact statements. Finally, say what changes when the cap is 'at most one running export per tenant' on job_run.

Approach

  1. Name it: write skew. The two transactions read an overlapping set and write disjoint rows, so there is no row-level conflict for the engine to detect and each commit is individually legal.
  2. Rule out the levels precisely. READ COMMITTED takes a fresh snapshot per statement and takes no lock on the counted rows, so both see 49. PostgreSQL's REPEATABLE READ is snapshot isolation: it removes non-repeatable reads and phantoms within the snapshot but still admits write skew, because the anomaly is not a re-read of a changed row, it is a read of a set that a concurrent transaction invalidates. Only SERIALIZABLE closes it, by tracking the read dependency and aborting one transaction with SQLSTATE 40001 — a guarantee that exists only if the application re-runs the whole transaction from the read.
  3. Convert the set predicate into a single-row conflict: keep tenant.active_resource_count and run UPDATE tenant SET active_resource_count = active_resource_count + 1 WHERE tenant_id = $1 AND active_resource_count < 50 in the same transaction as the INSERT. Zero affected rows is the cap, returned as 409. The row lock serialises the decision at any isolation level, and contention is bounded to one tenant's row — which is also the fair-scheduling unit, unlike a global counter that would convoy every tenant behind one row.
  4. State the cost you just took on: a counter is a second source of truth that can drift, so every path that changes status must adjust it inside the same transaction, and a periodic reconciliation has to exist, with resource_revision as the authority for what the count should have been.

Follow-up

  • A resource moves from archived back to active. Which statements change, and what breaks if the counter update and the status change land in different transactions?
  • The cap becomes plan-dependent and a plan can change mid-month. Where does the number 50 live, and who reads it?

Keep soft-deleted accounts from blocking re-registration

Easy · soft delete · unique constraints · engine differences

app_user holds user_id, tenant_id, email CITEXT, password_hash (NULL for SSO principals), email_verified_at, auth_version, status ('invited','active','suspended','deactivated'), created_at, updated_at, deleted_at. Two live accounts for one address inside a tenant must be impossible, but an address freed by a soft delete must be reusable, and the same tenant may delete and re-register it repeatedly. Write the uniqueness DDL for PostgreSQL 16, then the equivalent for MySQL 8 where partial indexes do not exist, and say what each permits once three deleted rows already hold that address.

Approach

  1. Start from what is actually unique: not (tenant_id, email), but (tenant_id, email) among live rows. PostgreSQL says that directly — CREATE UNIQUE INDEX app_user_live_email ON app_user (tenant_id, email) WHERE deleted_at IS NULL. A full constraint over the same two columns burns the address permanently the first time someone deletes an account.
  2. Keep case-insensitivity in the type or the index, never in the application: CITEXT as given, or UNIQUE (tenant_id, lower(email)) as an expression index where the extension is unavailable. A case-sensitive unique column is exactly how two accounts for one human appear.
  3. For MySQL 8 the predicate has to move inside the key: add a discriminator column that is a constant 0 while the row is live and is set to user_id on delete, with UNIQUE (tenant_id, email, deleted_marker). Live rows share the constant and still collide; deleted rows differ from each other and stop colliding.
  4. State the NULL variant and its dependency: leaving the marker NULL for deleted rows also works, because a unique index treats NULLs as distinct — true in MySQL, and true in PostgreSQL only under the default NULLS DISTINCT, which PostgreSQL 15 lets you reverse. Check the polarity against the three existing deleted rows: constant-on-live is what preserves the collision you want, and reversing it silently admits duplicate live accounts.

Follow-up

  • A deleted account re-registers with the same address the next day. Do the old resource rows follow the new user_id, and how does the API keep the two principals apart?
  • How do you honour an erasure request while resource_revision.actor_user_id still references this table?

Design a utility function to parse and validate complex nested JSON payloads representing loan application dat

Medium · Coding & Algorithms

Design a utility function to parse and validate complex nested JSON payloads representing loan application data.

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

Design a scalable rate-limiting service to protect internal financial APIs from abuse.

Medium · System Design & Architecture

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

How would you architect a secure ledger system to record loan disbursements and repayments?

Medium · System Design & Architecture

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

Describe your strategy for migrating a high-traffic monolithic application (e.g., Ruby on Rails) to a microser

Medium · System Design & Architecture

Describe your strategy for migrating a high-traffic monolithic application (e.g., Ruby on Rails) to a microservices architecture without causing system downtime.

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

Design a message-queue-based system to handle asynchronous underwriting decisions during peak traffic hours.

Medium · System Design & Architecture

Approach

  1. Fix the scope first: who calls this, how often, and what they do when it fails.
  2. Name the read and write paths separately; they rarely have the same bottleneck.
  3. Choose a partition key and say what query it makes expensive.
  4. State the consistency you need, and where you are willing to be stale.

Follow-up

  • What breaks first when traffic grows ten times?
  • How does this behave when that dependency is down for an hour?

p99 jumped on one listing filter while p50 stayed flat

Medium · query planning · composite index · percentiles

After a release that added an owner_user_id filter to the resource listing, p99 rose from 90 ms to 1.9 s while p50 stayed at 40 ms. Traffic and row counts are unchanged. resource carries the index (tenant_id, status, updated_at DESC, resource_id DESC). The new query filters tenant_id and owner_user_id, orders by updated_at DESC, resource_id DESC, and takes 20 rows. On PostgreSQL, explain the shape of the regression, prove it from a query plan, and give the index you would add.

Approach

  1. Start from the shape. A flat p50 with a moved p99 means a subset of requests changed cost, not all of them, so the first job is naming the subset. Bucket the endpoint's latency by the tenant's row count; the natural hypothesis is that large tenants are a small share of requests and all of the tail.
  2. Get the plan for the new query on a large tenant with EXPLAIN (ANALYZE, BUFFERS). Expect an index scan over the tenant's range, a filter discarding most of it, then a Sort feeding the Limit, possibly reporting Sort Method: external merge Disk. Read actual rows on the scan node, not estimated.
  3. Explain why the existing index cannot serve it. A composite B-tree is seekable only as a left prefix, and with no equality predicate on status the scan cannot treat updated_at as an ordering, because rows in the tenant's range are ordered by status first. Everything matching must be read and sorted before LIMIT 20 can apply, so a tenant with 400,000 rows pays 400,000 rows to return 20.
  4. Add (tenant_id, owner_user_id, updated_at DESC, resource_id DESC). Equality on the first two columns leaves the index ordered by updated_at within that pair, so the plan becomes an index scan that stops after 20 rows with no Sort node. PostgreSQL can scan a B-tree backwards, so the DESC markers matter only if the two sort columns ever disagree in direction; keeping them explicit documents the order the keyset cursor depends on.

Follow-up

  • The endpoint paginates with OFFSET. What does page 500 cost with your index, and what does the keyset version cost?
  • How would you have caught this before release, given that a 10,000-row seed database produces the same plan shape at an unnoticeable cost?

Suggested practice checklist

Built from the rounds and topics Happy Money candidates report.

Day 1 — Map the Happy Money loop

  • Write out the reported sequence: Recruiter Screen, Technical Screening, Virtual On-Site Interview.
  • For each round, write one sentence on what it is judging, from the description above, and mark the one you are least ready for.

Deliverable: A one-page map of the 3 reported rounds, with the weakest marked.

Day 2 — Work Coding Challenges (Timed Programming Exercises)

  • Spend the session on Coding Challenges (Timed Programming Exercises), which Happy Money candidates report being tested on.
  • Write one worked example in Coding Challenges (Timed Programming Exercises) and time yourself on it.

Deliverable: One timed worked example in Coding Challenges (Timed Programming Exercises).

Day 3 — Work Algorithmic Problem Solving (General)

  • Spend the session on Algorithmic Problem Solving (General), which Happy Money candidates report being tested on.
  • Write one worked example in Algorithmic Problem Solving (General) and time yourself on it.

Deliverable: One timed worked example in Algorithmic Problem Solving (General).

Day 4 — Work Data Structures & Algorithms (DSA)

  • Spend the session on Data Structures & Algorithms (DSA), which Happy Money candidates report being tested on.
  • Write one worked example in Data Structures & Algorithms (DSA) and time yourself on it.

Deliverable: One timed worked example in Data Structures & Algorithms (DSA).

Day 5 — Answer out loud: Coding & Algorithms

  • Answer aloud, timed: Write an algorithm to find the first non-repeating character in a stream of data and optimize it to run in linear time.
  • Answer aloud, timed: Implement a function to detect cycles in a directed graph representing transaction dependencies.

Deliverable: Spoken answers to 2 reported Coding & Algorithms question(s), under time.

Day 6 — Answer out loud: System Design & Architecture

  • Answer aloud, timed: Design a scalable rate-limiting service to protect internal financial APIs from abuse.
  • Answer aloud, timed: How would you architect a secure ledger system to record loan disbursements and repayments?

Deliverable: Spoken answers to 2 reported System Design & Architecture question(s), under time.

Day 7 — Answer out loud: Behavioral & Cultural Fit

  • Answer aloud, timed: Describe a time when you had to work on a legacy codebase with minimal documentation. How did you approach understanding and refactoring it?
  • Answer aloud, timed: Tell me about a time you had a technical disagreement with a senior engineer or stakeholder. How did you resolve it?

Deliverable: Spoken answers to 2 reported Behavioral & Cultural Fit question(s), under time.

Behavioural preparation

Behavioural rounds judge the decision you made and what it cost.

Describe a time when you had to work on a legacy codebase with minimal documentation. How did you approach und

Medium · Behavioral & Cultural Fit

Describe a time when you had to work on a legacy codebase with minimal documentation. How did you approach understanding and refactoring it?

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Tell me about a time you had a technical disagreement with a senior engineer or stakeholder. How did you resol

Medium · Behavioral & Cultural Fit

Tell me about a time you had a technical disagreement with a senior engineer or stakeholder. How did you resolve it?

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Why do you want to work at Happy Money, and how do you relate to our mission of helping people live happier, d

Medium · Behavioral & Cultural Fit

Why do you want to work at Happy Money, and how do you relate to our mission of helping people live happier, debt-free lives?

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?

Give an example of a project where you had to quickly learn a new language or framework (such as Clojure or fu

Medium · Behavioral & Cultural Fit

Give an example of a project where you had to quickly learn a new language or framework (such as Clojure or functional programming concepts) to deliver a feature.

Approach

  1. Pick a story where you made the decision, not one where you watched it.
  2. State the situation in two sentences and spend the rest on the reasoning.
  3. Give the blast radius: what could have broken, and what you measured.
  4. Name the disagreement and how you resolved it with evidence.

Follow-up

  • What would you do differently if you ran that again?
  • How did you know your change caused the improvement?