This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!
Submit FeedbackI did not think about sorting and concatenating, so I used a bitmask instead. Philosophically, they are the same.
I had an idea of how to get this done, but still had to look at others for the finishing touch.