Question Details
\'\'\' class Solution { public: bool isperfectsquare(int n){ int root = sqrt(n); if(rootroot==n) return true; else return false; } bool judgeSquareSum(int c) { int x = 0; int y= c; while(x<=y){ ...
Full Details
🔒
Unlock all Square/Block questions
Full insider details, leaked discussions, and candidate experiences.
or every company, $100/year →About This Question
This is a reported interview question from a square/block interview for a swe role reported in 2024.
It covers the following topics: General Experience .