JP's Blog

  • GitHub * Flickr * Resume
  • Programming
  • Reviews
  • Home Automation
  • Photography
  • Maker
  • Writing
  • Research
  • Search
  • RSS

AoC 2016 Day 6: Signal Unjammer

2016-12-06

Source: Signals and Noise

Part 1: Given a list of strings, find the most common character in each position.

read more...


AoC 2016 Day 5: Password Cracker

2016-12-05

Source: How About a Nice Game of Chess?

Part 1: Generate a series of hashes: MD5(salt + index). For each hash starting with five zeros, write down the sixth character.

read more...


AoC 2016 Day 4: Room Validator

2016-12-04

Source: Security Through Obscurity1

Part 1: A room is described as a name, a sector ID, and a checksum as follows:

aaaaa-bbb-z-y-x-123[abxyz]

name: aaaaa-bbb-z-y-x sector ID: 123 checksum: abxyz

read more...


AoC 2016 Day 3: Triangle Validator

2016-12-03

Source: Squares With Three Sides

Part 1: Given a list of sides, determine how many form valid triangles. (Hint: triangle inequality)

read more...


AoC 2016 Day 2: Pin Typer

2016-12-02

Source: Bathroom Security

Part 1: Take a keypad with the following layout:

1 2 3 4 5 6 7 8 9

read more...


AoC 2016 Day 1: Taxicab Simulator

2016-12-01

Source: No Time for a Taxicab

Part 1: Starting at 0,0 and given a string of L# / R# to turn left / right and move # squares, where do you end up?

read more...


  • ««
  • «
  • 1
  • 2
  • 3
  • »
  • »»
  • All posts: By Date
  • All posts: By Tag
  • RSS: All
  • RSS: series

All posts unless otherwise mentioned are licensed under Creative Commons License

Any source code unless otherwise mentioned is licensed under the 3 clause BSD license