about | help | code help+videos | done | prefs |
Given a num, calculate the sum of the squares up to num*num if num = 4, you are to return the value of 1*1 + 2*2 + 3*3 + 4*4 sumSquares(1) → 1 sumSquares(2) → 5 sumSquares(3) → 14 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 200
Copyright Nick Parlante 2017 - privacy