You are given a multiplication table of size m×n, where each element at position mat[i][j] is calculated as i×j (with 1-based indexing).
Your task is to find the kth smallest element in this table, given the m, n, and k values.
Constraints:
We need to find the ...