Codility - Tape Equilibrium

Solution to Codility lesson1-exercise1 Tape Equilibrium problem, link to Codility problem and complete solution at the end of the post. Definitions: So,┬átaking P we split the elements of A in two sets . We will define a binary operation diff such that the result of this operation will be, Problem: Define a function solution with […]

Read More