Given a directed graph of mobile UI components, where u -> v means v depends on updates from u, return the order in which a change at source propagates through the graph. Visit each reachable component once, even if multiple paths lead to it.
You are practicing as a guest. Sign up free to run your code against the sample data. Your draft stays right here.