morrowind@lemmy.ml to Advent Of Code@programming.dev · 10 months ago[2023 Day 1] It is not supposed to ramp up this fastlemmy.mlimagemessage-square32fedilinkarrow-up1142
arrow-up1142image[2023 Day 1] It is not supposed to ramp up this fastlemmy.mlmorrowind@lemmy.ml to Advent Of Code@programming.dev · 10 months agomessage-square32fedilink
minus-squaredamium@programming.devlinkfedilinkEnglisharrow-up1·10 months agoYou can also use o1e as there are never more than a single shared character. It also doesn’t change the string size so it can be done in place. Still an ugly hack of a solution.
You can also use o1e as there are never more than a single shared character. It also doesn’t change the string size so it can be done in place. Still an ugly hack of a solution.