simple question...anyone can do this...
IntuitionApproachComplexity
Time complexity:

Space complexity:
Code
# Intuition
<!-- Describe your first thoughts on how to solve this problem. -->

# Approach
<!-- Describe your approach to solving the problem. -->

# Complexity
- Time complexity:
<!-- Add your time complexity here, e.g. $$O(n)$$ -->

- Space complexity:
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```javascript []
/**
 * @param {number[]} nums
 * @return {number}
 */
var sumOfSquares = function(nums) {
  let squr =0;
  let n=nums.length;
for(let i=0;i<n;i++){
  if(n%(i+1)==0){
      squr=nums[i]*nums[i]+squr;
  }
} 
 return squr; 
}
```
['JavaScript']