I didn't understand this though. Can someone clarify it please? Or direct to the documentation.
How can you solve it without creating an array?
How on earth is this production ready
hahahaah very nice
It doesn't work for 4...
So we have to find out ourselves if the numbering starts at 1 or at 0. Tip: It starts at 1.
Simple is better than complex.
use spoiler tag next time :)
This comment is hidden because it contains spoiler information about the solution
asprintf is not standard