Problem
Submissions

Problem: Kth Smallest Number in M Sorted Lists

Statement

Given mm sorted lists in ascending order and an integer kk, find the kthk^{th} smallest element among all the lists.

Even if some values appear multiple times across the lists, each occurrence is treated as a unique element when determining the kthk^{th} smallest number.

If kk exceeds the total number of elements across all lists, return the largest element among them. If the lists are empty, return 00.

Problem
Submissions

Problem: Kth Smallest Number in M Sorted Lists

Statement

Given mm sorted lists in ascending order and an integer kk, find the kthk^{th} smallest element among all the lists.

Even if some values appear multiple times across the lists, each occurrence is treated as a unique element when determining the kthk^{th} smallest number.

If kk exceeds the total number of elements across all lists, return the largest element among them. If the lists are empty, return 00.