Problem 44779. Don't be mean. Be nice!
Solution Stats
Problem Comments
-
1 Comment
It's very sad that there is no matlab function "npermsk".
Solution Comments
-
3 Comments
Not work for R is long, and k is small.
For example, R = 1:100, k = 2.
@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
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2562 Solvers
-
Find perfect placement of non-rotating dominoes (easier)
297 Solvers
-
80 Solvers
-
3366 Solvers
-
Find the next Fibonacci number
372 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!