I would like to add code for the implementation of finding union and intersection for two sorted arrays.