Amazon Interview Question

2 sorted arrays. Give an algorithm for Union - Intersection of thoes 2 arryas