← Questions

Exchange rate between two currencies through chained conversions

0
MercorCodingLast asked Sep 2026

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

You are given a table of exchange rates. Each entry [from, to, rate] means one unit of from is worth rate units of to.

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 · dfs

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