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.
Sigiloso
Solved it by building a weighted graph + DFS, but my explanation was not the best.