add day-08 + benchmarks

This commit is contained in:
2024-12-08 19:55:23 +00:00
parent 9bfd45aee4
commit c1b8cb3f18
21 changed files with 520 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
package util
func ReplaceAtIndex(s string, r rune, i int) string {
out := []rune(s)
out[i] = r
return string(out)
}