My LeetCode grinding. Trying to do a problem a day.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

problem.txt 241B

1234567891011121314
  1. Given a positive integer num, write a function which returns True if num is a perfect square else False.
  2. Note: Do not use any built-in library function such as sqrt.
  3. Example 1:
  4. Input: 16
  5. Output: true
  6. Example 2:
  7. Input: 14
  8. Output: false