the content of this Python script was entirely written by chatgpt, then copypasted in the script container
I just mentioned I would do that using BFS graph traversal and set naked edge vertexes at depth=0
I used ChatGPT quite a while lately (not for coding apart from this) and it looks like it’s getting sort of closer for simple problems like this one… of course, it will spit out some wrong code first, but just by copypasting the error she (it? pls Skynet let me know) will try to solve the issue and improve step by step