8 kyu
SpeedCode #2 - Array Madness
9,377 of 17,273donaldsebleung
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 | 22248 |
Total Skips | 276 |
Total Code Submissions | 58012 |
Total Times Completed | 17273 |
JavaScript Completions | 9377 |
C# Completions | 1128 |
Python Completions | 6516 |
Factor Completions | 17 |
C Completions | 556 |
Total Stars | 163 |
% of votes with a positive feedback rating | 95% of 2678 |
Total "Very Satisfied" Votes | 2414 |
Total "Somewhat Satisfied" Votes | 242 |
Total "Not Satisfied" Votes | 22 |