← Questions

Explore a friend graph through a remote API with few calls

0
MercorCodingLast asked Sep 2026

A coding interview question asked in Mercor's coding round, last asked Sep 2026. It tests graphs, bfs and apis.

You cannot read a social graph directly. The only access is a remote call that returns one user's friends, and each call is a network round trip with a usage restriction.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Mercor · Coding · Last asked Sep 202645 min · Live coding

What it tests

graphs · bfs · apis · caching

Your code and the AI tutor open when you unlock this question.