Problem 44779. Don't be mean. Be nice!
37.5% Correct | 62.5% Incorrect
Last Solution submitted on Oct 17, 2022
Not work for R is long, and k is small.
For example, R = 1:100, k = 2.
Binbin Qi on 8 Nov 2018
@li haitao, the max digital is 9. If length of R great than 10, it is another problem. I think you can submit a problem like this but larger R.
@ Binbin Qi, You're right.
Problem Recent Solvers24
Getting the indices from a vector
Longest run of consecutive numbers
Calculate the Hamming distance between two strings
More from this Author80
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!