Implement a function that accepts an array of currency rates and an array of currency conversion queries. The function should return an array of results for each query in the queries array.
Anonymous
Solved it by building a weighted graph + DFS, but my explanation was not the best.
Check out your Company Bowl for anonymous work chats.