LinkedIn interview question

Coding - Given 2 sorted lists, find union and intersection