leetle

Daily challenge for 2025-05-25

145. Valid Perfect Square

Write a function solve that determines if a given number is a perfect square without using any built-in square root functions.

Example:
Input: 16
Output: true
Explanation: 16 is a perfect square (4^2 = 16).

Run this challenge interactively in Python or JavaScript when the app loads.