Excelent video! I didn't know that groups can be used as "if else " condition in this way, my solution keep track of do and dont indexes with 2 extra arrays and parse all mul in between a do and dont. This solution is very more clear and straight. Thnak you!
@lucasrocha92044 күн бұрын
First day that i had to search help, specifically in part 2! thanks for share!
@23mateush12 күн бұрын
Love your solutions, as a first-time AOC participant i'd like to see just some more explaining of your thinking proces. Much love
@ericmclean429112 күн бұрын
I had some issues with part2 until i realized the input was formatted incorrectly.It is meant to be as one line but the input had line breaks.
@wardwielockx11 күн бұрын
Hi! Love your solutions, wondering why the for loop was necessary for the result. Were some matches overlooked? Because I loaded the input in as one big string, so no different lines to check, just one big line, right? But I came across the same issue as you first did.
@DanielPersson7 күн бұрын
Hi. Thank you for watching my videos. There are always multiple ways of accomplishing the same thing. And I love that everyone thinks a little bit differently about these problems. In my brain the loop was required but I might have missed something :) Best regards Daniel