LinkedIn Interview Question

Programming question on balanced paranthesis. Find median after merging 2 already sorted arrays.