[4 marks] Suppose we are given two sequences A and B of n integers each, possibly containing duplicates, in the range from 1 to 2n. Describe a linear-time algorithm for determining if A and B contain the same set of elements (possibly in different orders). Justify the runtime..