You are viewing a single comment's thread. Return to all comments →
GO // Write your code here max := int32(0) count := int32(0)
for _, number := range candles { if number > max { max = number count = 1 } else if number == max { count++ } } return count
Seems like cookies are disabled on this browser, please enable them to open this website
Birthday Cake Candles
You are viewing a single comment's thread. Return to all comments →
GO // Write your code here max := int32(0) count := int32(0)