Valid Perfect Square Problem
Valid Perfect Square Problem — ExecCode School DSA Practice
Solve the Valid Perfect Square problem on ExecCode. Free online school DSA practice in Math. Write and run code in Java, C++, Python — no signup required to run.
Problem description
Given an integer N, determine if it is a perfect square. Your task is to solve Valid Perfect Square. Print true if it is, and false otherwise.
Examples
Input 16; Output True. Input 14; Output False
Constraints
1 <= num <= 2^31 - 1
Practice Valid Perfect Square free on ExecCode. Browse DSA problems, topic map, and placement guides.