This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Michael Kobylarek
on 12 May 2016
not sure why this is wrong.
David Verrelli
on 1 Nov 2017
Upper limit must be 2^n, according to the problem's title & Test Suite. (Not clear from the problem statement, though!)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!