Intuit Interview Question

Graph problem in OA. Longest common sequence between two arrays in Karat.