morrowind@lemmy.ml to Advent Of Code · 1 year ago[2023 Day 1] It is not supposed to ramp up this fastlemmy.mlimagemessage-square26fedilinkarrow-up1158arrow-down17
arrow-up1151arrow-down1image[2023 Day 1] It is not supposed to ramp up this fastlemmy.mlmorrowind@lemmy.ml to Advent Of Code · 1 year agomessage-square26fedilink
minus-squaredamiumlinkfedilinkEnglisharrow-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.