I am feeling a little embarrassed, but I am rusted in a little and just can't solve a little programming task.
Assuming I have an 2-dimensional char array.
Example
arr = [['A', 'a'], ['0', '1', '2'], ['Z', 'z']]
I want to write a loop or recursive function which gives me the strings of all combination with the order of the array. The result should be:
Result
A0Z
A0z
A1Z
A1z
A2Z
A2z
a0Z
a0z
a1Z
a1z
a2Z
a2z
Who can give me some guidance. Pseudo code is fine.