Palo Alto Networks Interview Question

sorting different sorted arrays top k elements