Given an array A of n elements. We need to change the array into a permutation of numbers from 1 to n using minimum replacements in the array.
2 views (last 30 days)
Show older comments
Abhishek Bakhla
on 25 Oct 2019
Edited: Abhishek Bakhla
on 29 Oct 2019
Given an array A of n elements. We need to change the array into a permutation of numbers from 1 to n using minimum replacements in the array.
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!