A distinct string is a string that is present only once in an array. Given an array of strings arr, and an integer k, return the kᵗʰ distinct string present in arr. If there are fewer than k distinct strings, return an empty string "". Note that the ...
Markdown supported · ⌘↵ to post
No responses yet.