If you're interested in functional programming, you might also want to checkout my second blog which i'm actively working on!!
Wednesday, January 29, 2014
Code puzzler: Tape Equilibrium
Suppose you get an array of ints of arbitrary length. Now we need to find out what is the mimimal absolute difference of the 2 sums of numbers if you split the array at any position in a left and right array. And preferably in a efficient way.