Minimum currency conversions.
Unlock detailed company stats for this questionUpgrade
Given a list of currency conversion pairs, find the minimum number of conversions required to convert a source currency into a target currency. Return -1 if conversion is not possible. Expected approach: graph + BFS.
Format · DSA round.
Community answers
No answers contributed by the community yet.
Related questions
Currency conversion between pairs.Related courses

Course

Course
Course
