Topic: Two Pointer Problem / Level: intermediate

Problem: Determine the number of ways to partition an array into three subarrays with equal sums using two pointers.

Run the code to see the output here...