Pregunta de entrevista de LinkedIn

Coding - Given 2 sorted lists, find union and intersection