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 smallest elements in the given array. It is given that all array elements are distinct.