I’m trying to develop a way of removing List A from List B, such that the result is “any item in List B that does not have an equivalent in List A”. I have a feeling that current nodes out there find all equal values and remove them at once. If there are 4 values in List B “apples,apples,pears,pears” and 2 values in List B “apples,pears”, I want the output to be “apples,pears” - because two of those items are unaccounted for in the subtraction list. In other words, actual ‘count’ of item results is important, not just the values themselves.
Okay, so I have tried with recursion but I can’t get it working. See below for my current work:
Please help, thanks