Topic: Array Problem / Level: intermediate

Problem: Check if the array contains a subarray where the sum of elements is equal to the sum of the first and last elements.

Run the code to see the output here...