#adventofcode2022
Read more stories on Hashnode
Articles with this tag
Solution 'abcdabcdabcdabcdabcd'.match(/.{1,4}/g) // ['abcd', 'abcd', 'abcd', 'abcd', 'abcd'] Here's original StackOverflow answer. Context In...
When solving Advent of Code puzzles, sometimes you will come across an input data, that consist of two parts: configuration and instructions: [S]...