I am struggling to figure out an efficient algorithm to perform the following task:
Given two arrays A and B with equal length, the difference between the two arrays