LeetCode
Question
·
Jun 2016
Determine if given number is a perfect square? Can't use Math.Sqrt library function
2 upvotes
10,609 views
13 replies
Question Details
Write a function that takes an integer as input and returns true if it's a perfect square else false. public static bool IsPerfectSquare(int n) { } ex: Perfect squares = 16 (4x4), 25 (5x5)...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding
More from LinkedIn
Reddit
UPDATE: HR specialist viewed my linkedin profile after final interview?
Reddit
[Insights, advice, and my experience] Got offers from Zapier, Samsara, and PayPal
Reddit
Correlation to Hiring Manager viewing profile, and made a hire?
Reddit
Rejected from job and then got a request to chat over LinkedIn?
Reddit
What's the vibe?