Kth Distinct String in an Array - Leetcode 2053 - Java
ฝัง
- เผยแพร่เมื่อ 12 ก.ย. 2024
- 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 "".
Problem: leetcode.com/p...
Code link: k5kc.com/cs/al...