- Problem: https://adventofcode.com/2019/day/2
- Input: https://gitlab.com/kartikynwa/advent-of-code-2019/raw/master/02.txt
- Solution: https://gitlab.com/kartikynwa/advent-of-code-2019/raw/master/02.go
Things I want to ask about:
- Is the way I am reading the file okay? Or is there a better practice to do it?
- Same thing with parsing the text into a slice? Is a slice a good way to do it? I don’t understand slices vs. arrays fully and going to have to read up more on that.
- Same thing with copying the original slice into a new one? Is this a good way to do it?
Questions are a bit vague so I am sorry about that. Thanks for taking the time to read this. 🙂