Problem 51768. Redefine the Array if the Elements in the Array are Repeating
32.35% Correct | 67.65% Incorrect
Last Solution submitted on Nov 21, 2022
Dyuman Joshi on 15 May 2021
Your problem statement doesn't make sense with the test cases.
Rafael S.T. Vieira on 20 Nov 2022
The exclamation mark "!" is a repeating element that should be removed from the output according to the problem's description, and n is equal to 1 (since there is no input parameter to control it). Moreover, there is no reason for d to be capitalized in the output. Please, fix the problem description or the test suite
Problem Recent Solvers10
Getting the indices from a vector
Longest run of consecutive numbers
Replace multiples of 5 with NaN
More from this Author1
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!