➜ ~

Playing Hacks and Stuffs!


Project maintained by h4ckyou Hosted on GitHub Pages — Theme by mattgraham

Valid Perfect Square

image

The way I solved this is to binary search the giving number to get it’s square root

Then I checked if the square root is indeed a perfect square

Solve Script: link

image