RSS
 

Posts Tagged ‘sparse matrix’

Advent Of Code 2015: Day 6

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

The Challenge

Solution

I split up the solutions for part 1 and part 2. Was almost tempted to go for a numpy and scipy sparse matrix solution but a 1000×1000 matrix is small enough for a dense matrix.

Part 1

Part 2

 
No Comments

Posted in Advent Of Code 2015