Rosetta Problems

Sum of Squares of Special Elements

https://leetcode.com/problems/sum-of-squares-of-special-elements