Pony.ai

1 DSA problems asked in Pony.ai coding interviews

0 Easy
1 Medium
0 Hard
​

1 problem

Heap
1
K-th Smallest Prime Fraction
Medium

You are given a sorted integer array `arr` that contains `1` and prime numbers, all distinct, and an integer `k`. For every `i < j`, consider the fraction `arr[i] / arr[j]`. Return the `k`th smallest of these fractions as an array of two in...