Skip to content

Commit 33e8f57

Browse files
committed
Do daily in golang
1 parent 2e60d06 commit 33e8f57

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

my-submissions/e1295 golang.go

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
import "strconv"
3+
func findNumbers(nums []int) int {
4+
output := 0
5+
for _, n := range nums {
6+
n_str := strconv.Itoa(n)
7+
if len(n_str) % 2 == 0 {
8+
output++
9+
}
10+
}
11+
return output
12+
}

0 commit comments

Comments
 (0)