![]() |
VOOZH | about |
A square is a flat shape, in one plane, defined by four points at the four corners. A square has four sides all of equal length, and four corners, all right angles (90 degree angles). A square is a kind of rectangle.
Examples :
Input : 4 Output :16 Input :8 Output :64
Formula
Output :
16
Time complexity : O(1)
Auxiliary Space : O(1)
.