Grid Dynamics Interview Question

Write me a Python code that will use two sorted lists, a and b, as an input, and the output is the intersection of two lists. What is the Big-O notation for this? Worst case scenario?