Skip to content

Given a positive integer n, return true if n is a perfect square or false otherwise. A perfect square is an integer that is the square of an integer. You must not use any built-in library function, such as sqrt. Ex1: I/p: n=16 O/p: true, because 4*4=16 and 4 is an integer, in I/p: n=14, false because 3.742*3.742=14 and 3.742 is not an integer.

Notifications You must be signed in to change notification settings

BabyHacker28/Valid-Perfect-Square

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

About

Given a positive integer n, return true if n is a perfect square or false otherwise. A perfect square is an integer that is the square of an integer. You must not use any built-in library function, such as sqrt. Ex1: I/p: n=16 O/p: true, because 4*4=16 and 4 is an integer, in I/p: n=14, false because 3.742*3.742=14 and 3.742 is not an integer.

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages