Solution, explanation, and complexity analysis for LeetCode 786 in Java Problem Description: leetcode.com/problems/k-th-sm... Code: github.com/AnatoliySokolov98/...
I like how you solve this problem by heap. Everyone in leetcode solve with heap for this prob is around n*nlogk which is not efficient. Keep up the good work man.