Go Typing Practice
Type the code below as fast and accurately as you can
Difficulty:
0
WPM
100%
Accuracy
0
Errors
60s
Timer
GoMedium
nums := []int{5, 3, 8, 1, 9}
sort.Ints(nums)
result := make([]int, 0)
for _, n := range nums {
if n > 3 {
result = append(result, n*2)
}
}
Start typing to begin