CodingReported in a candidate post, Oct 2020
Longest even length substring with equal half sums
Filed under Amdocs
The question
Find and print the longest even length substring where the sum of the first half of the digits equals the sum of the second half.
No write-up yet. Related questions below have one.
Related Amdocs questions
Collected from public candidate posts and coding forums. Updated Nov 2026.