filmov
tv
Kth Distinct String in an Array - Leetcode 2053 - Java

Показать описание
Problem Description
Program to find kth distinct string from the array of strings.
More details:
Given an array of strings arr, and an integer k, return the kth distinct string present in arr. If there are fewer than k distinct strings, return an empty string "".
Program to find kth distinct string from the array of strings.
More details:
Given an array of strings arr, and an integer k, return the kth distinct string present in arr. If there are fewer than k distinct strings, return an empty string "".