Saranya R Posted on Mar 21 Kth Smallest #gfg Approach Explanation <(^-^)> I sorted the array in ascending order using sort function. I picked the element at position k-1 That element is the kth smallest. Methods Used o( ̄▽ ̄)/ Sorting method Direct indexing Top comments (0) Subscribe Submit Preview Dismiss Code of Conduct • Report abuse
Top comments (0)