Perpay · Software Engineer
Updated · 2026-10-02

Perpay Software Engineer
Interview Guide

THE 60-SECOND BRIEF

As a Software Engineer at Perpay, you are at the heart of a mission-driven platform designed to increase financial inclusion. Your work directly impacts how millions of users access credit and manage their financial health. You will be responsible for building, scaling, and maintaining the systems that power our core financial products, ensuring that our infrastructure is both robust and capable of supporting rapid growth. This role requires a blend of high-level architectural thinking and tactical implementation. You will work closely with cross-functional teams, including product managers and operations, to translate complex business requirements into elegant, performant code.

This guide is scoped to a Software Engineer candidate at Perpay.

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

System DesignPythonAPI Design & REST

23 min read

Browse Software Engineer questions

See the practice prompts

21Practice promptsAcross five skill areas

As a Software Engineer at Perpay, you are at the heart of a mission-driven platform designed to increase financial inclusion. Your work directly impacts how millions of users access credit and manage their financial health. You will be responsible for building, scaling, and maintaining the systems that power our core financial products, ensuring that our infrastructure is both robust and capable of supporting rapid growth. This role requires a blend of high-level architectural thinking and tactical implementation. You will work closely with cross-functional teams, including product managers and operations, to translate complex business requirements into elegant, performant code. Whether you are optimizing existing services or designing new features from the ground up, your technical contributions are essential to maintaining the trust and reliability our users expect from the Perpay ecosystem. ##### Tip Perpay is currently prioritizing in-office collaboration. Candidates should be prepared to discuss their ability to work on-site in Philadelphia, as this is a key component of the company's current operating model.

01

Initial Screening

reported

Verify your background and interest in the position.

What to demonstrate

  • Verify your background and interest in the position
  • Depth in System Design

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.
Perpay Software Engineer candidate reports ↗
02

Technical Deep Dives

reported

Engage in rigorous technical interviews to assess problem-solving skills and adaptability.

What to demonstrate

  • Engage in rigorous technical interviews to assess problem-solving skills and adaptability
  • Depth in System Design

How to prepare

  • Answer aloud and timed: How do you handle authentication and authorization in a distributed system?
  • Answer aloud and timed: What are the common performance bottlenecks when scaling a web application?
Perpay Software Engineer candidate reports ↗
03

Final Onsite or Virtual Session

reported

Participate in a comprehensive 'super day' session to conclude the interview process.

What to demonstrate

  • Participate in a comprehensive 'super day' session to conclude the interview process
  • Depth in System Design

How to prepare

  • Answer aloud and timed: Can you describe how a browser fetches and renders a page, including the role of APIs?
  • Answer aloud and timed: How would you design a URL shortening service from scratch?
Perpay Software Engineer candidate reports ↗

PracHub editorial advice for the preparation topics above.

01

Own your projects

Be prepared to talk about your past work with deep technical authority. If you list a project on your resume, know every trade-off you made.

02

Focus on the "Why

Don't just list technologies; explain why you chose one over another. This is what distinguishes senior-level thinking.

03

Prepare for the "Super Day

The multi-stage onsite is a test of stamina as much as skill. Ensure you have your behavioral stories ready to maintain consistency throughout the day.

04

Research the product

Understand the Perpay business model—how the company makes money and the challenges of providing credit to consumers. This shows genuine interest.

Choose a category, try a prompt, then open its approach, worked solution or follow-up when you need it.

15 technical prompts0 include a worked solution

Collapse a redelivered event batch into per-aggregate high-water marks

easy
hashingat-least-onceaggregation

You drain a batch of up to 5,000,000 events, each (aggregate_id BIGINT, aggregate_version INT, event_type, payload). The log guarantees order within one aggregate only; the batch merges 64 partitions, and a relay failover has redelivered a range, so an older version for an aggregate can appear after a newer one. Given a map of last_applied_version per aggregate, produce the events worth applying, at most one per (aggregate_id, version), plus the count discarded. Target O(n) time. State the memory for 2,000,000 distinct aggregates and what you do when it does not fit.

Approach
  1. One pass, one hash map from aggregate_id to the highest version kept, and a discard counter. An event whose version is at or below last_applied_version for its aggregate is dropped without further work, which is the whole reason the event carries its version rather than a delta. O(n) expected time, O(d) space in distinct aggregates.
  2. Keep the maximum, never the last occurrence. The redelivered range means the final appearance of an aggregate in the batch can be an older version than one seen earlier in the same batch, so last-wins applies stale state over newer state and the projection regresses with no error anywhere.
  3. Cost the memory instead of calling it large: an 8-byte key plus a 4-byte version is 12 bytes of payload, and an open-addressed table held at a 0.7 load factor costs roughly 17 bytes per entry before per-slot metadata, so 2,000,000 aggregates is tens of megabytes in a native layout and several times that in a runtime that boxes both key and value.
  4. If the distinct set exceeds memory, partition on hash(aggregate_id) mod P and reduce each partition independently. Every event for one aggregate hashes to the same partition, so the per-partition result is exact and the merge is concatenation rather than a second reduction.
Follow-up
  • The payload is a patch rather than a snapshot, so applying only the highest version loses the intermediate changes. What changes in your reduction?
  • How do you detect that version 7 arrived while version 6 was never delivered, and what should the consumer do about the gap?

Find overlapping job attempts and peak concurrency from lease records

medium
sweep lineintervalsleases

A day of job_run history yields about 50,000,000 attempt records: (job_run_id, job_type, attempt, started_at, finished_at which is NULL when the worker died, lease_expires_at). Leases expire on a clock, so a job that outran its lease ran twice. Produce (a) every job_run_id whose attempts overlapped in wall-clock time and (b) the peak number of simultaneously running attempts per job_type with the minute it occurred. Target O(n log n). State how you treat a NULL finished_at and what clock skew does to your answer.

Approach
  1. Define the interval before sorting anything: an attempt occupies [started_at, COALESCE(finished_at, lease_expires_at)). finished_at is observed and lease_expires_at is only a promise, so every attempt without a finish contributes an estimate and the whole result is a lower bound on overlap rather than an exact count.
  2. For peak concurrency, sweep: emit 2n endpoints, sort by (timestamp, kind) with ends ordered before starts at equal timestamps, then walk the sequence maintaining a counter per job_type and record each type's maximum with its timestamp. O(n log n) dominated by the sort, O(n) space, or O(1) extra if the sort is external and the walk streams.
  3. For overlap detection, do not compare attempts pairwise. A single global sort by (job_run_id, started_at) gives both the grouping and the order; within a group, keep the maximum end seen so far and report an overlap exactly when the next start is less than that running maximum, which is one linear pass after the sort.
  4. Half-open intervals matter and are easy to get wrong: with closed intervals an attempt ending at the same millisecond another begins reads as concurrency two, and across 50,000,000 records that artefact swamps the real signal.
Follow-up
  • A handler is not idempotent and you have found 400 overlapping jobs. Which of them actually caused damage, and what would you query to find out?
  • Peak concurrency for one job_type is 4 against a configured cap of 4. Is the cap working, or is the data hiding attempts that never started?

Identify the heaviest tenants in a five-minute window under memory pressure

medium
top-kheavy hittersstreaming

The edge service handles about 3,000 requests per second across roughly 50,000 tenants, peaking near 9,000. Expose the 50 heaviest tenants by request count over the trailing five minutes so limits can be tightened before one tenant's backfill starves the fleet. You may not retain five minutes of raw records. Give the exact solution and its memory, then the bounded-memory approximation with its error stated as a formula, and say which you would ship and at what tenant cardinality that choice changes.

Approach
  1. Do the exact version first, because it is affordable at this cardinality: a ring of 300 one-second counters per tenant, advanced lazily, is 1,200 bytes of counters per tenant and roughly 60 to 90 MB for 50,000 tenants with overhead. Carry a running total and subtract the bucket you overwrite so a window read is O(1) rather than 300 adds.
  2. Extract the top 50 with a size-k min-heap over the tenant sums: O(d log k) for d tenants, against O(d log d) to sort them all. Maintaining the heap continuously instead of on query requires a tenant-to-heap-index map, because incrementing a count already inside the heap means sifting from a known position, and without that map you rebuild the heap on every request.
  3. State the approximation precisely rather than gesturing at sketches. Misra-Gries with m counters retains every item whose true count exceeds N/(m+1), and each retained count underestimates the truth by at most N/(m+1). With m = 1,000 and N = 900,000 requests in the window the error is roughly 900 requests, which is fine for spotting a tenant sending 50,000 and useless for ranking two tenants 200 apart.
  4. Say what breaks when the window slides: Misra-Gries and Space-Saving are insert-only and cannot be decremented as records age out. The workable construction is one summary per sub-window, say ten seconds, with 30 summaries merged at query time, and the merged error is the sum of the per-summary errors, so the bound degrades linearly in the number of sub-windows.
Follow-up
  • The heaviest tenant is heavy because of one export job rather than user traffic. Should the limiter treat those as the same tenant?
  • Two tenants sit tied at the boundary of the top 50. Does your answer flap, and does the flapping matter?

Built from the rounds and topics Perpay candidates report.

Small steps. Visible outcomes.0 / 7 completed
ONE WEEK · YOUR PACE

Prepare, practise & reflect

One practical outcome each day. Spend longer where you need it.

0 / 7 done
01Map the Perpay loop
  • Write out the reported sequence: Initial Screening, Technical Deep Dives, Final Onsite or Virtual Session.
  • 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.

02Work System Design
  • Spend the session on System Design, which Perpay candidates report being tested on.
  • Write one worked example in System Design and time yourself on it.

Deliverable: One timed worked example in System Design.

03Work Python
  • Spend the session on Python, which Perpay candidates report being tested on.
  • Write one worked example in Python and time yourself on it.

Deliverable: One timed worked example in Python.

04Work API Design & REST
  • Spend the session on API Design & REST, which Perpay candidates report being tested on.
  • Write one worked example in API Design & REST and time yourself on it.

Deliverable: One timed worked example in API Design & REST.

05Answer out loud: Technical & Domain Knowledge
  • Answer aloud, timed: How would you design a scalable controller in a framework like Flask or Django?
  • Answer aloud, timed: Can you explain the difference between various HTTP status codes and when to use them?

Deliverable: Spoken answers to 2 reported Technical & Domain Knowledge question(s), under time.

06Answer out loud: System Design & Architecture
  • Answer aloud, timed: How would you design a URL shortening service from scratch?
  • Answer aloud, timed: How would you approach designing a system to handle high-frequency financial transactions?

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

07Answer out loud: Behavioral & Cultural Fit
  • Answer aloud, timed: Can you describe a challenging technical project you led and the lessons you learned?
  • Answer aloud, timed: How do you handle situations where requirements are ambiguous or changing?

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

Expand any day for tasks and deliverables. Your progress is saved on this device.

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

How do you handle authentication and authorization in a distributed system?

medium
Technical & Domain Knowledge

How do you handle authentication and authorization in a distributed system?

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?

Can you describe a challenging technical project you led and the lessons you learned?

medium
Behavioral & Cultural Fit

Can you describe a challenging technical project you led and the lessons you learned?

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?

How do you handle situations where requirements are ambiguous or changing?

medium
Behavioral & Cultural Fit

How do you handle situations where requirements are ambiguous or changing?

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 to resolve a conflict within your engineering team.

medium
Behavioral & Cultural Fit

Tell me about a time you had to resolve a conflict within your engineering team.

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 are you interested in working at Perpay, and how do you align with our mission?

medium
Behavioral & Cultural Fit

Why are you interested in working at Perpay, and how do you align with our mission?

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?

How do you balance the need for rapid feature delivery with the need for technical debt reduction?

medium
Behavioral & Cultural Fit

How do you balance the need for rapid feature delivery with the need for technical debt reduction?

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?
  • 01

    How do you handle authentication and authorization in a distributed system?

  • 02

    Can you describe a challenging technical project you led and the lessons you learned?

  • 03

    How do you handle situations where requirements are ambiguous or changing?

  • 04

    Tell me about a time you had to resolve a conflict within your engineering team.

PracHub preparation framework ↗
How much time should I spend preparing?

Dedicate at least 15–20 hours to reviewing system design principles and practicing coding problems. Focus on the core concepts rather than memorizing specific solutions.

Perpay Software Engineer candidate reports ↗
What is the company culture like?

Perpay is a growing, mission-driven company that values in-person collaboration. Employees are expected to be highly engaged and comfortable working in a fast-paced environment.

Perpay Software Engineer candidate reports ↗
Why was I rejected without detailed feedback?

Like many growing companies, Perpay often manages a high volume of candidates. While they aim to be professional, they may not always provide granular feedback after a rejection. Focus on your performance in the interview to identify your own areas for growth.

Perpay Software Engineer candidate reports ↗
How do I handle a vague interview prompt?

Treat it as a real-world engineering task. Ask questions to define the scope, expected throughput, and critical constraints before you start drawing your architecture.

Perpay Software Engineer candidate reports ↗
What topics does Perpay test in interviews?

Perpay interviews most often cover Python, Problem Solving, System Design, SQL, and Business Analysis. The exact emphasis depends on the specific role you apply for.

Perpay Software Engineer candidate reports ↗
Sources & methodology 3 sources ↗

No official company page is cited. Rounds and questions come from candidate reports and PracHub editorial material; each source shows the date it was read.