Advent of code in Rust - solving year 2020 exercise 19 p1 & p2 (ALMOST) (Twitch Live 2021-10-11)
In this episode, we completed on the first part of Advent of Code y2020 ex19 and we ALMOST completed the second part too!
In this episode, we needed to implement a string validator based on a complex graph of rules. Something that vaguely resembles how regular expression works.
After having completed the first part , we moved to part two, which made the input a bit more complicated by adding loops in the rule set. We thought our initial solution would be good enough to handle loops as well but we realised we needed to modify the function a little bit.
We almost got it done, until we got bogged down with some rust stuff related to merging vectors, until we run out of time.
After the stream, we spent some more time to complete the exercise and we have a working solution in our repo if you are curious. We will explain that in the next episode!
For all the source code check out the official GitHub repo: https://github.com/lmammino/rust-advent
For seeing the next episodes live check out our Twitch channel: https://twitch.tv/loige