RSS
 

Advent Of Code 2015: Day 8


09 Dec 2015
CTF: Advent Of Code 2015
Link to challenge: http://adventofcode.com
Date Completed: 09 December 2015

Challenge

Solution

A fairly simple puzzle. My approach was to add up the strings together and use regular expressions to replace special characters with a * character so that the python len function would provide me with the correct result.

Script:

 
2 Comments

Posted in Advent Of Code 2015

 

Leave a Reply

 

 
  1. Sanghamitra

    April 15, 2023 at 3:56 AM

    I got the same answer with part one with my code and yours. (1350)
    For part two my code gave me 1215 and your code gave me 2087, but aoc says both are wrong.

     
    • Mo Beigi

      April 25, 2023 at 4:02 PM

      Its been a long time since I have done this but I believe my solution was correct when I made this post (otherwise I wouldn’t have blogged about it!)