Mercor coding interview

Round 3 of 5 · 5 questions reported

See the whole loop
Length
45 min
Format
Live coding
Heads-up
Reported onsite problems: top k with a comparator that is wrong 10% of the time (then fewer calls, then a slow comparator), exploring a friend network through a restricted API with as few calls as possible.

Questions Mercor asks in this round 5

  • Top k with a deterministically noisy comparatorCodingYou must rank items through a comparison function cmp(a, b) that is wrong about 10% of the time, and consistently so: asking about the same pair again gives the same answer. Given…
    Last asked Sep 2026
  • Referral networkCodingImplement a referral network: users refer other users, and the network records who referred whom. Support adding referrals and answering questions about a user's referrals, such…
    Last asked May 2026