The problem description is broken(?) and you have mentioned the code in the test suite (you might want to remove that)
The test suite has had the "solution" code removed. The description was also cleaned up. (If it's not loading, simply reload the page.) I'm not sure how much these fixes help, though...
5706 Solvers
Return the 3n+1 sequence for n
6174 Solvers
Return a list sorted by number of occurrences
1504 Solvers
Which values occur exactly three times?
3818 Solvers
380 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!