-
Notifications
You must be signed in to change notification settings - Fork 0
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.
BabyHacker28/Valid-Perfect-Square
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
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 0
No packages published