Pergunta de entrevista da empresa LinkedIn

Coding - Given 2 sorted lists, find union and intersection