Mercator · Software Engineer
Updated · 2026-10-02

Mercator Software Engineer
Interview Guide

THE 60-SECOND BRIEF

A Software Engineer at Mercator is a foundational contributor responsible for building the technical backbone that powers our products. Whether you are operating as a Founding Platform & Infrastructure Engineer or a Full-Stack Engineer, your work directly dictates the scalability, reliability, and velocity of our engineering organization. You are not just writing code; you are architecting solutions that solve complex, real-world problems in an environment that values precision and high-impact output. This role is critical because Mercator operates at the intersection of high-stakes infrastructure and user-facing innovation. You will collaborate closely with product and operations teams to bridge the gap between abstract requirements and robust technical execution.

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

No round sequence has been reported for Mercator. Confirm the format with your recruiter.

Full-Stack DevelopmentSoftware Engineering FundamentalsPlatform Engineering

20 min read

Browse Software Engineer questions

See the practice prompts

12Practice promptsAcross five skill areas

A Software Engineer at Mercator is a foundational contributor responsible for building the technical backbone that powers our products. Whether you are operating as a Founding Platform & Infrastructure Engineer or a Full-Stack Engineer, your work directly dictates the scalability, reliability, and velocity of our engineering organization. You are not just writing code; you are architecting solutions that solve complex, real-world problems in an environment that values precision and high-impact output. This role is critical because Mercator operates at the intersection of high-stakes infrastructure and user-facing innovation. You will collaborate closely with product and operations teams to bridge the gap between abstract requirements and robust technical execution. We look for engineers who possess a "builder’s mindset"—individuals who are comfortable navigating ambiguity, taking ownership of entire features, and constantly refining our technical stack to maintain a competitive edge. ##### Tip We value engineers who can explain the 'why' behind their technical choices, not just the 'how.' Focus on the trade-offs you make during your design and coding tasks.

01

Preparation focus

editorial

No round sequence has been reported for this company, so confirm the format with your recruiter and work the reported questions below.

What to demonstrate

  • Breadth across the topics this company reports testing
  • Whether you confirm the format before preparing for it

How to prepare

  • Ask the recruiter for the sequence, the duration of each stage and whether you will be writing code
  • Work the reported questions below and time yourself
PracHub preparation framework ↗

PracHub editorial advice for the preparation topics above.

01

Think out loud

During coding and design sessions, explain your thought process. Even if you arrive at the wrong answer, the way you structure your thinking is often more important to the interviewer.

02

Know your resume

Be prepared to dive deep into any project you list. If you mention a specific technology, expect questions about how it works under the hood.

03

Prepare questions for us

The interview is a two-way street. Prepare thoughtful questions about our technical challenges, team structure, and long-term goals to show your genuine interest.

04

Practice trade-offs

Whenever you propose a solution, immediately follow up with the potential downsides. This demonstrates maturity and architectural awareness.

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

9 technical prompts0 include a worked solution

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?

Track a rolling failure rate per destination for circuit decisions

easy
sliding windowring buffercircuit breaker

The egress service delivers about 1,500 webhooks per second across roughly 40,000 destinations, each call bounded by a 10 second timeout. Maintain, per destination, the failure rate over the trailing 60 seconds so a caller can ask before dispatch whether the circuit should open. Attempts arrive as (destination_id, finished_at_ms, outcome). Requirement: amortised O(1) per attempt, with total memory bounded by the destination count rather than by traffic. Give the structure, its exact memory, and the rule that stops a destination with three attempts from opening a circuit.

Approach
  1. Name the exact-deque version and then reject it as the default. Holding timestamps and advancing a tail pointer past anything older than now minus 60 seconds is a correct two-pointer window at amortised O(1) per attempt, but its memory tracks in-window traffic, so one destination in a retry storm holds hundreds of thousands of entries while thousands of quiet destinations hold none.
  2. Use a ring of 60 one-second buckets per destination, each bucket a pair of counters for attempts and failures. On an attempt, advance the ring by the elapsed whole seconds, zeroing at most min(elapsed, 60) buckets, then increment the head. That is amortised O(1) with a fixed footprint per destination.
  3. State the footprint: 60 buckets times two 4-byte counters is 480 bytes of payload per destination, so 40,000 destinations is roughly 20 to 25 MB with per-entry overhead, bounded by the catalogue rather than by the rate. The cost is granularity, since the oldest bucket ages out in whole seconds, which is far tighter than the decision needs.
  4. Require a minimum sample before the circuit may open. A destination with three attempts and three failures reads as 100 percent and is not evidence; a floor of roughly 20 attempts in the window makes the ratio meaningful, and below that floor use a run of consecutive failures as the trigger instead.
Follow-up
  • The fleet is 30 instances and each sees roughly a thirtieth of a destination's traffic. Where does the rate actually live, and what does a per-instance answer get wrong?
  • A destination answers in 9.5 seconds and succeeds. It is not failing but it is consuming your per-destination concurrency. What signal should open the circuit here?

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?

Built from the topics and questions Mercator candidates report; no round sequence has been reported.

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
01Establish the Mercator format
  • No round sequence has been reported, so ask your recruiter for the sequence, the duration of each stage and whether you will write code.

Deliverable: A written reply from your recruiter confirming the format.

02Work Full-Stack Development
  • Spend the session on Full-Stack Development, which Mercator candidates report being tested on.
  • Write one worked example in Full-Stack Development and time yourself on it.

Deliverable: One timed worked example in Full-Stack Development.

03Work Software Engineering Fundamentals
  • Spend the session on Software Engineering Fundamentals, which Mercator candidates report being tested on.
  • Write one worked example in Software Engineering Fundamentals and time yourself on it.

Deliverable: One timed worked example in Software Engineering Fundamentals.

04Work Platform Engineering
  • Spend the session on Platform Engineering, which Mercator candidates report being tested on.
  • Write one worked example in Platform Engineering and time yourself on it.

Deliverable: One timed worked example in Platform Engineering.

05Answer out loud: Technical & Architectural Design
  • Answer aloud, timed: How would you design a highly available service from the ground up?
  • Answer aloud, timed: Describe a time you had to choose between two competing technologies; what were your criteria?

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

06Rehearse your own examples
  • Prepare three examples from your own work where you made the decision, each with the outcome you can quantify.

Deliverable: Three examples written out, each with a number attached.

07Dry run for Mercator
  • 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.

Describe a time you had to choose between two competing technologies; what were your criteria?

medium
Technical & Architectural Design

Describe a time you had to choose between two competing technologies; what were your criteria?

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 database migrations in a production environment with zero downtime?

medium
Technical & Architectural Design

How do you handle database migrations in a production environment with zero downtime?

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 callers you do not own that their integration breaks

medium
deprecationcompatibilitystakeholders

A field in a write endpoint's response must change shape. You own the endpoint; you do not own the four internal callers or the outbound webhook consumers who read it. Describe a deprecation you were responsible for: what you shipped first, how you established who was actually reading the field, the window you gave and what set its length, what you did about the consumer who never moved, and how you decided removal was safe. Name the signal you used, not the announcement you sent.

Approach
  1. Establish the reader set empirically rather than from a wiki of owners: per-field usage counters keyed by principal, or access logs attributed to a consumer. State the blind spot of whichever you pick, since a consumer that reads the field only on a monthly job will not appear in a week of logs.
  2. Ship additive first. Populate the new field alongside the old one so no reader is forced to move, which is also what keeps a rolling deploy safe, because old and new instances answer the same requests at the same time and a rollback must still find the old shape present.
  3. Set the window from the slowest legitimate consumer's release cadence, not from your calendar, and decide separately what to do for a consumer with no release process at all, such as an external webhook endpoint you can only email.
  4. Convert silence into evidence before you rely on it: a short, low-traffic removal window that makes a still-dependent consumer fail visibly and loudly while you are watching, rather than at three in the morning after you have moved on.
Follow-up
  • How would you detect a consumer that reads the field only during a monthly export?
  • One caller refuses to move and has a commercial relationship behind it. What changes in your plan and what does not?
  • 01

    Describe a time you had to choose between two competing technologies; what were your criteria?

  • 02

    How do you handle database migrations in a production environment with zero downtime?

  • 03

    A field in a write endpoint's response must change shape. You own the endpoint; you do not own the four internal callers or the outbound webhook consumers who read it. Describe a deprecation you were responsible for: what you shipped first, how you established who was actually reading the field, the window you gave and what set its length, what you did about the consumer who never moved, and how you decided removal was safe. Name the signal you used, not the announcement you sent.

PracHub preparation framework ↗
How long does the interview process typically take?

The process usually spans 3 to 5 weeks from the initial screen to the final decision. We aim to keep the timeline tight to respect your time while ensuring we have enough data to make an informed decision.

Mercator Software Engineer candidate reports ↗
What is the most common reason candidates do not move forward?

The most frequent feedback is a lack of deep understanding regarding the "why" behind their technical choices. We are less interested in memorized answers and more interested in your ability to justify your decisions based on trade-offs.

Mercator Software Engineer candidate reports ↗
Is there a preference for specific programming languages?

While we have a primary stack, we value strong engineering fundamentals over syntax knowledge. If you are an expert in one language, we trust your ability to pick up ours.

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

We are a high-agency, collaborative team that prioritizes impact and clear communication. We value individuals who are proactive, curious, and willing to challenge the status quo. Do not spend all your time practicing algorithmic puzzles. We place significant weight on design and behavioral questions, so ensure your preparation is balanced.

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

Mercator interviews most often cover Full-Stack Development, Software Engineering Fundamentals, Platform Engineering, Infrastructure Engineering, and Programming in a Main Language (Unspecified). The exact emphasis depends on the specific role you apply for.

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