Problem 170. First N Perfect Squares

Created by @bmtran

Description

Return the first N perfect squares

Example

    input = 4;
    output = [ 1 4 9 16 ];

Problem Group

150 solvers submitted 242 solutions (1.61 solutions/solver).

Solution Comments