Here I solve the AOC day 2 problems. Using string::find() stoi() and substr() to easily parse the string and validate the password. I know I could have counted only the letter in question in each policy, but my brain gravitated towards the reusable code :)
Here's a link to my LLDB Debugging video:
https://www.youtube.com/watch?v=2GV0K9Y2MKA
0 Comments