Code Review: Calculate all possible combinations of an array of arrays or strings (2 Solutions!!)

Published --