Pergunta de entrevista da empresa BlackRock

Solve the intersection of two linked list question (on leetcode) from scratch also implement the linked list for it (start from brute to most optimal). They also asked the difference between Arrays and linked list .