You are viewing a single comment's thread. Return to all comments →
Thanks for adding the io code, very helpful.
Your answer is hilarious. Nice hack. And you understand it wouldn't work if you get a duplicate relation, right? Like if the test set includes (1,2),(1,2). Your function would print NO, while this describes a valid funcition. But kudos for the insight!