kthSmallestElementinArray.js

@@ -1,15 +1,19 @@
-k
+// K
 th
+ 
 Smallest
 Elem
@@ -12,22 +12,309 @@
 lest
+ 
 Element
+ 
 in
+ an 
 Array
-.js
+%0A%0A// Find the kth smallest element in an unsorted array. Note that it is the kth smallest element in the sorted order,%0A// not the kth distinct element.%0A%0A// For example,%0A// Given %5B3,2,1,5,6,4%5D and k = 2, return 2.%0A%0A// Note:%0A// You may assume k is always valid, 1 %E2%89%A4 k %E2%89%A4 array's length.%0A
 %0A

add desc