YES; otherwise, output NO.
The first line contains a positive integer
(
) , denoting the number of test cases. The first line of each test case contains two positive integers
and
(
,
), indicating the length of the array
and the minimum distance of
and
for each index selection. The second line consists of
non-negative integers
(
).
It is guaranteed that
.
For each test case, output one string per line, either "YES" or "NO" (without quotes), indicating whether it is possible or not.