/ Matrice / 训练 /

Programare dinamica

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 : 2

Input : a[] = {3, 4, 3, 2, 1, 5, 5}
k = 2
Output : 3
Explanation: As 3 is smaller than 5.
So 3 should be printed.

未参加训练计划时您不能查看题目详情。

章节 1. A+B Problem

开放

题目 递交 % AC 难度
* (隐藏) * * *
 
参加人数
2
创建人