add day-06 + benchmarks

This commit is contained in:
2024-12-06 20:01:17 +00:00
parent d1308ffdfe
commit 567ca72402
21 changed files with 532 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)
}