You are given a sorted integer array containing numbers that are 1 and prime numbers, all unique. For each pair of indices i and j where i < j, consider the fraction arr[i] / arr[j]. Return the k-th smallest fraction in the form of an array [arr[i], arr[j]].
Click Run to execute sample tests.