|
|
|
|
|
by aaaronic
923 days ago
|
|
I think the edge cases were entirely unclear in day 1, part 2. I had to redo it in a "dumb"/brute-force way to avoid using fancy regex tricks I don't know. It's quite clear the small sample data was chosen intentionally to not cover them. |
|
"Find the last occurrence of any one of these strings in a longer string" is just the first problem again but with all the strings reversed.