I have been working on a problem that can be described as the following.
You are given 3 lists of characters.
L1 = [a,b ,c,d ]
L2 = [e,f ,g ,a]
L3 = [m, n, o, g, k]
How many strings can you make by taking a character from each list?
You are allowed to pick only one character from each list (length of the string should be 3). The resultant string should not have any characters repeating. Each list is guaranteed to be containing unique letters. The order of list you pick from does not matter.