Challenge for Equal Lands

Challenge

Given a list of numbers (representing the area of different properties), determine if it can be split in two parts so the sum of each part is equal. Print true if it can and false otherwise. The numbers must remain in the same order.

For example, 1 2 3 6 can be split after the 3 so there's an equal sum on each side (6), but 1 1 2 3 5 cannot be split anywhere equally.

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]