I have a question that goes over my head, hope someone can help. I think it may have to be solved by recursion and/or permutations, but I am not good enough of a (PHP) progr
A recursive solution.
If you want to store all solutions for [0,23] you're gonna have a bad time.