Make function that takes two vectors, and compares them.
If an element is present in vector foo that isn't present in vector bar, store that element in either a surplus container vector or a missing container vector. The surplus and missing vector will eventually be collected and returned.
Make function that takes two vectors, and compares them. If an element is present in vector
foo
that isn't present in vectorbar
, store that element in either a surplus container vector or a missing container vector. The surplus and missing vector will eventually be collected and returned.See following for inspiration: https://www.geeksforgeeks.org/check-if-two-arrays-are-equal-or-not/