|Martins Eglitis 9f20300584 Working on task 5, fixed some naming||2 weeks ago|
|inputs||2 weeks ago|
|src||2 weeks ago|
|.gitignore||1 month ago|
|README.md||1 month ago|
|main.go||2 weeks ago|
Solutions for Advent of Code 2019.
So when you pass a slice to a function, a copy will be made from this header, including the pointer, which will point to the same backing array. Modifying the elements of the slice implies modifying the elements of the backing array, and so all slices which share the same backing array will “observe” the change.
Day 3. Do math (unlike me). I did it brute force, O(n^2) complexity and huge n ~ 30k.
Day 4. Do not use string to convert from int. Use strconv.Itoa().