LinkedIn Interview Question

Coding - Given 2 sorted lists, find union and intersection