I couldn't figure out an algorithm for OUT.E on the hidden puzzle so I tried hard-coding the values. I thought perhaps that might be the challenge for that puzzle or something. Just barely passed test 3 after about six hours of cobbling together a truly grotesque, bloated program, almost every node full...
Forgot about the random test at the end. lolol
Forgot about the random test at the end. lolol