Given two arrays A and B, returns what should be added, updated and / or removed when going from A to B