This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Beshir Aman
on 25 Aug 2014
interesting solution... I like it :)
Sebastian
on 8 Sep 2015
I disagree. Almost every problem has a solution wrapped in this function. It's cheating as it hides the complexity of the code from the scoring algorithm. That's why "eval" is not allowed ...
Suggested Problems
-
7740 Solvers
-
Number of 1s in the Binary Representation of a Number
459 Solvers
-
10197 Solvers
-
408 Solvers
-
2402 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!