8 kyu
SpeedCode #2 - Array Madness
9,357 of 17,236donaldsebleung
Description:
SpeedCode #2 - Array Madness
Objective
Given two integer arrays a, b
, both of length >= 1
, create a program that returns true
if the sum of the squares of each element in a
is strictly greater than the sum of the cubes of each element in b
.
E.g.
arrayMadness([4, 5, 6], [1, 2, 3]); // returns true since 4 ** 2 + 5 ** 2 + 6 ** 2 > 1 ** 3 + 2 ** 3 + 3 ** 3
Get your timer out. Are you ready? Ready, get set, GO!!!
Arrays
Puzzles
Similar Kata:
Stats:
Created | Apr 2, 2016 |
Published | Apr 2, 2016 |
Warriors Trained | 22196 |
Total Skips | 276 |
Total Code Submissions | 57903 |
Total Times Completed | 17236 |
JavaScript Completions | 9357 |
C# Completions | 1124 |
Python Completions | 6500 |
Factor Completions | 17 |
C Completions | 555 |
Total Stars | 162 |
% of votes with a positive feedback rating | 95% of 2677 |
Total "Very Satisfied" Votes | 2413 |
Total "Somewhat Satisfied" Votes | 242 |
Total "Not Satisfied" Votes | 22 |