so i have multiple arrays and each of these array will have the same data set. now i want to find all combinations of items from these arrays but as all of them will have the same items, i want to omit the item which is selected from the first array.
example- which fruits to eat in a day.
breakfast= ['apple', 'banana', 'melon', 'grape', 'kiwi']
lunch= ['apple', 'banana', 'melon', 'grape', 'kiwi']
dinner= ['apple', 'banana', 'melon', 'grape', 'kiwi']
result= when 'apple' is selected from the breakfast list then 'apple' should not be selected from lunch and dinner lists.
Please also note, that the array sizes will be both equal and unequal. Meaning in my original work, i will have 2 arrays with 20 elements, 5 arrays with 100 elements, 5 arrays with 60 elements and 3 arrays with 25 elements. and finally i want to do combination of all of these 15 arrays together. where the condition of omission applies to the groups of arrays which have similar number of elements (basically i have 4 groups of data, and among these 4 groups one group of data will be put in to 2 arrays, another group will be put into 5 arrays, another group will be put into 5 arrays and the last group will be put into 3 arrays)
i may use allcomb from File Exchange or some other codes but i need to know how to omit the same elements from the following lists while running the code.