Is it allowed to ask a question if you've already have an solution/answer?
This could be done to get alternative options/solutions for algorithms. But on the other hand may distract from people who are actually struggling with a real problem.
Also, for algorithms/improvements, you have programming or programming puzzle stackexchange which may be better suited. And when talking about algorithms/programming it's not really specific to Arduino anymore, as at this point it's usually C/C++.
My example: I have an LED matrix of 12x12, but they are connected in an "S" way. Like for example:
1 2 3 4 8 7 6 5 9 10 11 12 16 15 14 13
Now I would have to map these LED nr's to X-Y coordinates (which is not just x+y*width because it's in an S pattern).
I feel it's not really Arduino specific and I already have (2 actually) answers for it, but I'm really curious to see if there's another simpler solution to it (to the logic to my own solution).
Also, I'm curious if as in code-golf you're allowed to state that the answer with least bytes / fastest execution time (or something like that) will 'win'?