Subtraction between 2 List of maps

I’ll provide a tip: Turn each list into a map where the key is the code and the value is the quantity. Then you can easily update the quantities for each code. You can turn it back into a list at the end if you want. Give it a shot, and we’ll be happy to offer feedback.

2 Likes