Brute force approach passes all test cases, but as with most questions of this format we can do better using a hashtable to get O(n) instead of O(n^2)
source not stored for this graph (policy: none)
nothing calls this directly
no outgoing calls
no test coverage detected