Search⌘ K
AI Features

Solution: Kth Smallest Number in Multiplication Table

Solution: Kth Smallest Number in Multiplication Table asks you to examine an m by n multiplication table, where each cell is the product of its row and column numbers, and return the kth smallest value.

Statement

You are given a multiplication table of size m×\timesn, where each element at position mat[i][j] is calculated as i×ji \times j ...