Given a sorted array of 1 and distinct primes, consider every fraction arr[i] / arr[j] with i < j. Return the kth smallest fraction as [numerator, denominator].
Practise this challenge
All coding challenges