Toptal interview question

dfs, coin change, mostly the standard algorithms.