Marshmallow · Software Engineer
Updated · 2026-10-02

Marshmallow Software Engineer
Interview Guide

THE 60-SECOND BRIEF

As a Software Engineer at Marshmallow, you are joining a mission-driven team dedicated to revolutionizing the insurance industry through technology, data, and a customer-centric approach. Your work directly impacts how the company prices risk, processes claims, and delivers a seamless experience to policyholders. You will be expected to build robust, scalable systems that solve complex, real-world problems in a fast-paced, high-growth environment. This role requires more than just technical proficiency; it demands a product-minded approach and a deep commitment to the company’s core values. You will collaborate closely with cross-functional teams, including product managers and operations, to move ideas from conception to deployment. Because Marshmallow prioritizes speed and agility, the ability to iterate quickly and make pragmatic trade-offs is essential to your success.

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

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

Pair ProgrammingSystem DesignTake-home Coding Exercises

18 min read

Browse Software Engineer questions

See the practice prompts

15Practice promptsAcross five skill areas

As a Software Engineer at Marshmallow, you are joining a mission-driven team dedicated to revolutionizing the insurance industry through technology, data, and a customer-centric approach. Your work directly impacts how the company prices risk, processes claims, and delivers a seamless experience to policyholders. You will be expected to build robust, scalable systems that solve complex, real-world problems in a fast-paced, high-growth environment. This role requires more than just technical proficiency; it demands a product-minded approach and a deep commitment to the company’s core values. You will collaborate closely with cross-functional teams, including product managers and operations, to move ideas from conception to deployment. Because Marshmallow prioritizes speed and agility, the ability to iterate quickly and make pragmatic trade-offs is essential to your success.

01

Screening Call

reported

Initial call to establish mutual interest and cultural alignment.

What to demonstrate

  • Initial call to establish mutual interest and cultural alignment
  • Depth in Pair Programming

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

Technical Assessment

reported

Assessment through a take-home project or pair-programming session to gauge practical engineering skills.

What to demonstrate

  • Assessment through a take-home project or pair-programming session to gauge practical engineering skills
  • Depth in Pair Programming

How to prepare

  • Answer aloud and timed: Tell me about a time you had to compromise to ship a feature quickly.
  • Answer aloud and timed: How do you handle receiving negative feedback from a manager?
Marshmallow Software Engineer candidate reports ↗
03

Final Rounds

reported

Deep-dive conversations with engineering managers and leadership focusing on experience, problem-solving, and values.

What to demonstrate

  • Deep-dive conversations with engineering managers and leadership focusing on experience, problem-solving, and values
  • Depth in Pair Programming

How to prepare

  • Answer aloud and timed: Describe a time you provided constructive feedback to a colleague.
  • Answer aloud and timed: Walk me through your process for taking an idea and shipping it to production.
Marshmallow Software Engineer candidate reports ↗

PracHub editorial advice for the preparation topics above.

01

Understand the values

Read the company’s engineering blog or any available articles by their leadership team; they provide significant insight into the company’s technical philosophy.

02

Be ready for the "why

In every technical round, be prepared to justify your decisions, especially regarding trade-offs between speed and perfection.

03

Prepare your own questions

The last 10 minutes of your interviews are for you. Use them to show you have done your research and are genuinely interested in how the team operates.

04

Practice your narrative

Be ready to talk about your past work, specifically focusing on challenges you faced and how you overcame them.

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

10 technical prompts0 include a worked solution

Merge partitioned event streams into one ordered feed with bounded lateness

hard
k-way mergewatermarksout-of-order streams

The read-model service consumes 64 log partitions carrying about 4,000 events per second in total. Each partition is ordered within itself, but partitions drift by up to 30 seconds, and the activity feed must present a tenant's events in occurred_at order. Produce the merge. State its complexity, the buffer it requires in events and in bytes, what happens when one partition is idle, and what you do with an event that arrives after you have already emitted its position. Payloads average 1 KB.

Approach
  1. Merge with a min-heap over the 64 partition heads keyed on (occurred_at, event_id): O(log P) per event and O(n log P) overall. The tie-break on event_id is what makes the output deterministic when two partitions carry the same millisecond, which matters because the feed is paginated and a non-deterministic order reorders pages under the reader.
  2. Emitting the heap head is only correct once every partition has produced everything up to that timestamp, so the emit condition is a watermark: the minimum across partitions of the highest occurred_at seen, less the allowed lateness. Events are held until the watermark passes them, which is what turns individually ordered streams into a jointly ordered one.
  3. Size the buffer from the lateness rather than guessing: 4,000 events per second times 30 seconds is 120,000 buffered events, and at 1 KB each about 120 MB of heap. That number is the real price of the ordering guarantee and belongs in front of whoever asked for it.
  4. Handle the idle partition explicitly, because it fails the feed rather than corrupting it: a partition with no traffic never advances its own maximum, so the watermark freezes and output stops entirely. Either every partition emits a periodic idle marker carrying the broker's current time, or the watermark falls back to wall clock for a partition silent beyond a threshold.
Follow-up
  • The lateness budget is raised to five minutes. What is the new buffer, and what besides memory changes?
  • The consumer restarts. Where does it resume from, and what does the feed look like for the first 30 seconds?

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?

Canonicalise a request body into a stable idempotency fingerprint

medium
parsingcanonicalisationhashing

idempotency_key.request_fingerprint is a SHA-256 over the method, path and canonicalised body, and a retry whose fingerprint differs must be rejected with 422 rather than served the stored response. Write the canonicaliser. Bodies are JSON up to 256 KB nested at most 32 levels; clients vary key order, whitespace and unicode escaping, and some send 64-bit ids as JSON numbers. Produce a deterministic byte string such that semantically identical bodies match and any semantic difference does not. State your complexity and name two normalisations you refuse to perform.

Approach
  1. Parse once into a tree, then re-serialise under fixed rules: object keys sorted, array order preserved, one escaping convention, no insignificant whitespace. Parsing is O(n) and sorting keys is O(k log k) per object, so O(n log n) overall with O(depth) stack, and the 32-level cap is enforced during parsing because hostile nesting is how a canonicaliser becomes a stack overflow.
  2. Sort keys by their UTF-8 bytes and say why the obvious implementation is wrong in some runtimes: a default string comparison that orders by UTF-16 code units places surrogate pairs, meaning code points from U+10000 up, below U+E000 to U+FFFF, which is not UTF-8 byte order, so two services written in different languages disagree on the same document.
  3. Do not re-encode numbers through a double. IEEE-754 binary64 represents integers exactly only up to 2^53, so normalising a 19-digit id through a float changes it, and 1 against 1.0 cannot be reconciled without deciding whether they are the same value. Preserve the literal token, and require ids as strings at the API boundary if you want them comparable.
  4. Reject duplicate keys rather than picking one. JSON permits them and parsers disagree, most keeping the last, so any choice you make ties the fingerprint to a parser detail that the code handling the request does not necessarily share.
Follow-up
  • A client sends the same logical request with an extra field your API ignores. Same key, different fingerprint, so you return 422. Is that the right answer?
  • Where does the fingerprint get computed relative to request decompression and the body-size limit?

Built from the rounds and topics Marshmallow 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 Marshmallow loop
  • Write out the reported sequence: Screening Call, Technical Assessment, Final Rounds.
  • 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 Pair Programming
  • Spend the session on Pair Programming, which Marshmallow candidates report being tested on.
  • Write one worked example in Pair Programming and time yourself on it.

Deliverable: One timed worked example in Pair Programming.

03Work System Design
  • Spend the session on System Design, which Marshmallow 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.

04Work Take-home Coding Exercises
  • Spend the session on Take-home Coding Exercises, which Marshmallow candidates report being tested on.
  • Write one worked example in Take-home Coding Exercises and time yourself on it.

Deliverable: One timed worked example in Take-home Coding Exercises.

05Answer out loud: Behavioral and Cultural Alignment
  • Answer aloud, timed: Why do you want to work for Marshmallow specifically?
  • Answer aloud, timed: How do you handle working in a fast-paced environment?

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

06Answer out loud: Technical and Problem-Solving
  • Answer aloud, timed: Walk me through your process for taking an idea and shipping it to production.
  • Answer aloud, timed: How would you design a system that handles data at scale for analytics?

Deliverable: Spoken answers to 2 reported Technical and Problem-Solving question(s), under time.

07Dry run for Marshmallow
  • Run one full mock under time, then write down the two questions you most want to ask your interviewers.

Deliverable: A completed timed mock and two questions to ask.

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.

Why do you want to work for Marshmallow specifically?

medium
Behavioral and Cultural Alignment

Why do you want to work for Marshmallow specifically?

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 working in a fast-paced environment?

medium
Behavioral and Cultural Alignment

How do you handle working in a fast-paced environment?

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 compromise to ship a feature quickly.

medium
Behavioral and Cultural Alignment

Tell me about a time you had to compromise to ship a feature quickly.

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 receiving negative feedback from a manager?

medium
Behavioral and Cultural Alignment

How do you handle receiving negative feedback from a manager?

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?

Describe a time you provided constructive feedback to a colleague.

medium
Behavioral and Cultural Alignment

Describe a time you provided constructive feedback to a colleague.

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

    Why do you want to work for Marshmallow specifically?

  • 02

    How do you handle working in a fast-paced environment?

  • 03

    Tell me about a time you had to compromise to ship a feature quickly.

  • 04

    How do you handle receiving negative feedback from a manager?

PracHub preparation framework ↗
How long should I spend preparing for the interviews?

Preparation time varies by experience, but you should dedicate enough time to review your past projects and practice articulating your technical decisions. Focus on being able to explain the "why" behind your work, as this is often more important than the specific technology stack.

Marshmallow Software Engineer candidate reports ↗
What is the best way to stand out during the process?

Demonstrate a genuine interest in the company’s mission and values. Show that you are a pragmatic engineer who understands that code is a tool to solve business problems, not just an end in itself.

Marshmallow Software Engineer candidate reports ↗
Are the interviews remote or in-person?

Most interviews are conducted online, allowing for a flexible process. Ensure you have a stable connection and a quiet environment for your technical sessions.

Marshmallow Software Engineer candidate reports ↗
How quickly will I hear back after an interview?

Marshmallow generally aims for good communication, but the timeline can vary. If you have not heard back within a week, it is appropriate to follow up with your recruiter.

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

Marshmallow interviews most often cover System Design, SQL, Pair Programming, Competency Interviews, and Code Quality. The exact emphasis depends on the specific role you apply for.

Marshmallow 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.