Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 401 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 401 Bytes

95.Valid Perfect Square

Description

Given a positive integer num, write a function which returns True if num is a perfect square else False.

Example1

Input: 16
Returns: True

Example2

Input: 14
Returns: False

Note

  • Do not use any built-in library function such as sqrt.

From

LeetCode