You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Given an array and a number K where K is smaller than size of array, we need to find the K’th smallest element and K'th smallest element in the given array.
# It is given that all array elements are not distinct.
# Note : If element is not present, then return -1.