Return the k-th element of the square-sorted order.
Unlock detailed company stats for this questionUpgrade
Input: [-3, -2, -1, 0, 1, 2, 3, 4], k = 3. Output: 1. Optimize beyond the straightforward extension of the first solution.
Community answers
No answers contributed by the community yet.


