Solution Review: Sum of Squares
Let's go over the solution of the Sum of Squares problem using `select` statements.
We'll cover the following...
We'll cover the following...
Let’s go over the changes we made to the SumofSquares function.
func SumOfSquares(c, quit chan int) {
y := 1
for {
select {
case c <- (y*y):
y++
case ...