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-square25fedilinkarrow-up1155arrow-down17
arrow-up1148arrow-down1image[2023 Day 1] It is not supposed to ramp up this fastlemmy.mlmorrowind@lemmy.ml to Advent Of Code@programming.dev · 1 year agomessage-square25fedilink
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.