vesperia won it!
Hello everyone, I got my beta key off one of these contests on TL and recently got my friend invites. I figured I should give it back to TL
The contest will be similar to the one I had to solve (mathematical) and you can either PM me or post in this thread the solution. First person (by time) to give me an acceptable solution will receive the key!
The question is:
Show that determining whether a directed graph G with vertice set V and edge set E contains a universal sink - a vertex with in-degree |V| -1 and out-degree 0 - can be determined in time O(V ), given an adjacency matrix for G.
You will require some basic graph theory and algorithm knowledge to solve this question
edit: Your answer just needs to describe a method/algorithm to obtain the answer and explain why it works, no actual code needed
Here are some useful links
+ Show Spoiler +