Developers

Blog articles tagged 'adventofcode'

Tweet ps. look out for all my other solutions for Advent of Code challenges here. Day 24 See details of the challenge here. Today’s challenge is a mix of Breadth-First Search (or Level Order Tree Traversal) and the Travelling Salesman Problem. First, le[...]

Tweet ps. look out for all my other solutions for Advent of Code challenges here. Day 23 See details of the challenge here. Today’s input looks like this: cpy a b dec b cpy a d cpy 0 a cpy b c inc a .. Today’s challenge is an extension to Day 12, where [...]

Tweet ps. look out for all my other solutions for Advent of Code challenges here. Day 22 See details of the challenge here. Today’s input looks like this: root@ebhq-gridcenter# df -h Filesystem Size Used Avail Use% /d[...]

Tweet ps. look out for all my other solutions for Advent of Code challenges here. Day 21 See details of the challenge here. Today’s input looks like this: swap position 2 with position 7 swap letter f with letter a swap letter c with letter a rotate bas[...]

Tweet ps. look out for all my other solutions for Advent of Code challenges here. Day 20 See details of the challenge here. Today’s input looks like this: 1873924193-1879728099 2042754084-2076891856 4112318198-4113899685 1039794493-1057170966 3791841434[...]

Tweet ps. look out for all my other solutions for Advent of Code challenges here. Day 6 See details of the challenge here. The input for today’s challenge looks like this: cmezkqgn nmzrgcft ydpndcps zjihhows kvptxsrx ubbvugwq … Since the only difference[...]

Tweet ps. look out for all my other solutions for Advent of Code challenges here. Day 5 See details of the challenge here. Let’s start by adding a hash function that’ll take an input string and return the hexdecimal representation of its MD5 hash. From [...]

Tweet ps. look out for all my other solutions for Advent of Code challenges here. Day 4 See details of the challenge here. The input for today’s challenge looks something like this: bkwzkqsxq-tovvilokx-nozvyiwoxd-172[fstek] wifilzof-wbiwifuny-yhachyylch[...]

Tweet ps. look out for all my other solutions for Advent of Code challenges here. Day 3 See details of the challenge here. First, let’s capture the input for today’s challenge in a text file, say Day03Input.txt. Then, let’s create a module to capture th[...]

Tweet ps. look out for all my other solutions for Advent of Code challenges here. Day 2 See details of the challenge here. Let’s start by capturing the model and input data in a module. Since I’m armed with the hindsight of having seen both parts of tod[...]