This solution is outdated. To rescore this solution, sign in.
-
2 Comments
Gary Ong
on 10 Jun 2016
Test 2 in the test suite is wrong!
25 is clearly a perfect square.
Matthew Stuckey
on 15 Jun 2016
the problem is to see if a number is the square of another number in the vector. Although 25 is a perfect square, 5 is not included in the vector
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!