This repository has been archived on 2024-05-04. You can view files and clone it, but cannot push or open issues or pull requests.
|
package space.dezentrale.prgrnd
|
|
|
|
class SumOfSquares {
|
|
fun calculate(intArray: IntArray): Int {
|
|
|
|
return intArray.sumOf { it * it }
|
|
}
|
|
} |