Commit Graph

49 Commits

Author SHA1 Message Date
997703eda9 Update readme to fix md formatting error 2022-11-25 09:19:21 +01:00
1f6c9c9bfe Added Readme.md 2021-12-25 21:54:47 +00:00
801d7f9a78 day 21b incomplete
tried doing it, very close, I believe I have missed a very simple step or some edge case is not being run.

Value is currently way below what is expected So I either think one of the data structures is behaving badly, or I have missed a key point
2021-12-22 01:02:12 +00:00
f406939197 day 21a complete
transferred the game structs to the shared area, linked list can be manipulated to have a different board type and so placing in shared reduces code size
2021-12-21 23:22:04 +00:00
73de067afc day 21a complete
Really happy with my approach in terms of data structure, looks like it should make it fairly easy to do part 2
2021-12-21 22:21:30 +00:00
de54724f21 day 20a incomplete 2021-12-20 23:55:42 +00:00
5bd95a716f day 18a incomplete
was unable to complete the challenge today

Ideally, I would like to wait for generics to release in Go version 1.18 (February 2022)

decided to spend the time working on an implementation of a Binary Search Tree that makes use of the string that is currently stored in the Node Item
2021-12-18 22:09:37 +00:00
76231d6a37 day 17b complete
took a little longer than expected because the regex was picking the '.' up before the numbers and causing it to become a truncated float... this made it 0 and thus the incorrect coordinate value.
2021-12-17 22:59:41 +00:00
8a8a1c0ebf day 17a complete 2021-12-17 22:33:26 +00:00
b2f39abd93 day 16a complete
after taking up the iterative approach and sorting out all of the little bugs I was finally able to get the right value
2021-12-17 19:11:20 +00:00
dc6d332cf8 day 16b incomplete
This idea relies on the fact that the packets are sequenstial as opposed to being recursive.

To make it work I  need to make the whole packet processing process a function and pass in the subpackets in
2021-12-17 15:05:05 +00:00
0db2c0a79e day 16a complete 2021-12-17 13:23:44 +00:00
6111f86a04 New Shared Library 2021-12-16 21:11:39 +00:00
1a2247044a update go.mod 2021-12-16 20:35:01 +00:00
11405e23c8 day 15b complete 2021-12-16 20:33:01 +00:00
d7e0ba575c day 15a complete
used help to get solution (see graph library used)
2021-12-16 20:18:54 +00:00
90bc7c683d updated repo layout 2021-12-16 19:55:49 +00:00
9f4bdcf271 updated repo 2021-12-16 19:38:32 +00:00
7d8334b251 day 14 complete 2021-12-15 19:44:02 +00:00
f25f5f56b7 Day 13a updated
silly error - didn't actually affect the outcome... oh well!
2021-12-14 22:49:19 +00:00
dda8a38796 day 13b complete
silly error, got x and y confused! somehow :(
2021-12-14 22:47:57 +00:00
27f270dd4a day 13b complete
took a while, output was a bit... broken :(
2021-12-14 22:37:28 +00:00
7a47ce953c day 13a complete 2021-12-14 21:20:27 +00:00
5031559529 day 13 setup (incomplete)
Sorry, literally have no energy! Will attempt tomorrow
2021-12-13 20:53:55 +00:00
32e42d1f51 day 12b complete
bit of a cheat day here to try and catch up. Tired from exams and so have very little motivation at the moment
2021-12-13 20:37:33 +00:00
807fddccc8 day 12a complete 2021-12-13 20:32:09 +00:00
616713e8ae day 11b complete
fairly simple after finally figuring out where I went wrong in part A.

Note - Struct included in solution inspired by online solution
2021-12-12 00:23:08 +00:00
79461b82c2 day 11a complete
missing bool value meant the flash updates stopped early
2021-12-12 00:07:56 +00:00
37174b18db day 11a incomplete
for some reason, the code just doesn't give the right answer
2021-12-11 23:46:45 +00:00
b3be061915 day 10b complete 2021-12-10 23:00:22 +00:00
0860573c1e day 10a complete
first time using a stack, can recommend
2021-12-10 22:21:30 +00:00
10028f5d77 day 9a complete 2021-12-09 20:57:37 +00:00
e3af9240d8 Day 8b complete
Struggled with this challenge as well, had to consult the forums in order to get my head around it 😞
2021-12-08 22:42:47 +00:00
ec060003c4 Day 8a complete 2021-12-08 19:09:16 +00:00
e0c963abeb day 7b complete 2021-12-07 14:21:47 +00:00
8d5d0e12a9 day 7a complete 2021-12-07 12:53:48 +00:00
057aca2a3f day 6b complete 2021-12-06 21:29:26 +00:00
77fd77b4cb day 6a complete 2021-12-06 21:29:14 +00:00
6469a6037c Update main.go
removed unnecessary loop
2021-12-05 16:37:56 +00:00
04982c4798 day 5b complete
Had a couple of issues drawing the diagonal lines, got the x and y coordinates on the array mixed up
2021-12-05 16:36:56 +00:00
98a881a85f day 5a complete 2021-12-05 15:21:14 +00:00
92a9400eef day 4b complete 2021-12-04 22:42:13 +00:00
6aef789d0f Completed Day 4a
tough one, lots of spaghetti code too!
2021-12-04 21:29:22 +00:00
b3827cf53a day 3b complete 2021-12-03 21:04:10 +00:00
e9a8f04140 day 3a complete 2021-12-03 19:40:58 +00:00
6d016405ad day 2b complete 2021-12-02 19:34:17 +00:00
c0b80c74d2 day 2a complete 2021-12-02 19:34:05 +00:00
fb67c6195c Day 1 Complete 2021-12-01 15:41:32 +00:00
Luke Else
21a2be1d52
Initial commit 2021-12-01 14:45:58 +00:00