Topic: Array Problem / Level: intermediate

Problem: Check if the sum of elements in the last k elements of an array is greater than the sum of the first k elements.

Run the code to see the output here...