Input is the same as for 2.1. This time I must find ids that differs by one letter in the same position:
Doing puzzle #2 of advent of code challenge in Rust. The puzzle is pretty simple. Input looks like this:
After first puzzle in advent of code i found a function that can be reused:
In my first puzzle in advent of code challenge I used some copy/pasted rust code which was not completely clear to me... It's time to understand the code and document it here.