morrowind@lemmy.ml to Advent Of Code@programming.dev · 1 year ago[2023 Day 1] It is not supposed to ramp up this fastlemmy.mlimagemessage-square26fedilinkarrow-up1158
arrow-up1158image[2023 Day 1] It is not supposed to ramp up this fastlemmy.mlmorrowind@lemmy.ml to Advent Of Code@programming.dev · 1 year agomessage-square26fedilink
minus-squaredamium@programming.devlinkfedilinkEnglisharrow-up1·1 year 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.