-
4 Comments
Show
1 older comment
Jean-Marie Sainthillier
on 13 Mar 2013
Smart !
Doesn't work with [1 2 2 1] for example.
Ned Gulley
on 13 Mar 2013
Thanks for the additional test question!
Santosh Kumar Choudhary
on 28 Sep 2017
Test case 5 answer is wrong. the correct answer is [2 1 2 2]. Change the test case 5 answer
VISHWATEJ N
on 2 Aug 2019
i need the code part of 3rd test case ..
can anyone help
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!