Independence Day Sale! Unlock 40% OFF on All Job-Oriented Training Programs – Limited Time Only! Offer Ending in
D
H
M
S
Get Now
Problem Submissions Solution

Equal Sum Subarrays

Difficulty: Easy

Acceptance: %

Points: 20.00

Given an array of integers arr, return true if it is possible to split it in two subarrays (without reordering the elements), such that the sum of the two subarrays are equal. If it is not possible then return false.

Topics

Companies

Articles

Examples:

NA

Constraints:
  • 1<=arr.size()<=105
  • 1<=arr[i]<=106
Companies:
Meta
Topics:
Queue
Locked Content
Access Restricted: Please Login to access the code editor and test cases.