Last updated 4 months ago
Was this helpful?
🟩 Easy
My Solution
func findNumbers(nums []int) int { sum := 0 for _, num := range nums { if len(fmt.Sprintf("%d", num)) % 2 == 0 { sum++ } } return sum }
Leetcode: