Google Interview Question

You are given n sorted arrays. Merge them.