0
Mod-balanced arrays
code-golf array-manipulation
Introduction
Suppose I have an array of integers, say L = [-1,2,2,1,2,7,1,4].
I like having balance in my life, so I'm happy to see it has as many odd elements as even elements.
What's more, it also has an equal number of elements in all modul...