Basic Concepts
Advanced Concepts
Basic Problems
Intermediate Problems
Hard Problems
Quick Links
Given an array of size n, the goal is to find out the smallest number that is repeated exactly ‘k’ times where k > 0?
And
Examples:
Input : a[] = {2, 1, 3, 1, 2, 2}
k = 3
Output : 2Input : a[] = {3, 4, 3, 2, 1, 5, 5}
k = 2
Output : 3
Explanation: As 3 is smaller than 5.
So 3 should be printed.
未参加训练计划时您不能查看题目详情。
- 参加人数
- 2
- 创建人