Thanks for your reply. I would love to see your version in code. Because I fear I do not understand how that would work with an unknown array length.
I'm happy that you liked my take on that.
Hi! Here is what I meant.
I also linked the resource where I've found out the idea.
Hope you find it useful.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.