Problem 851 · Medium
Memoized DFS over the richer-than graph to find the quietest person at least as rich as each person.
Open the interactive visualisation