Break the CODE!!!
All about coding, algos, puzzles and big data
Wednesday, October 17, 2012
Kth smallest element in an unsorted array
Given an array of unsorted numbers, find the Kth smallest element in the array.
Input: 10, 8, 5, 7, 14, 3
K = 4
Output: 8
Solution
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
UA-36403895-1
No comments:
Post a Comment