↓ 6 callersFunctionfindKthSmallestNumberWithHeap* * Problem: * Given an unsorted array of numbers, find Kth smallest number in it. * * Example 1: * Input: [1, 5, 12, 2, 11, 5], K = 3 * Output:
13_top-k-elements/0_kth-smallest-element-in-an-array.js:28
↓ 2 callersFunctionfindDuplicateNumberWithoutModify* * How to do this without modifying the array? * * We can think about the array as a linked list, take `[1, 4, 4, 3, 2]` as an * example, array c
5_cyclic-sort/287_find-the-duplicate-number.js:66