Easy
Given a positive integer n, return true if it is a perfect square (the square of some integer), and false otherwise. Do not use any built-in square-root function.
Input: n = 16 Output: true
Input: n = 14 Output: false
Input: n = 1 Output: true