Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!
Two solution routes. Learned the ifelse contains date parsing trick from marqueecrew on an oooooold challenge. Revamped this with a regex_countmatches here, love this as a identity tool.
also tried doing it without using datetimeparse! Was a fun route.