Meta interview question

Implement iterator that increments over K sorted arrays in increasing order.