MCPcopy Create free account
hub / github.com/Tiwarishashwat/InterviewCodes / countSquares

Method countSquares

CountSquares.java:22–26  ·  view source on GitHub ↗
(int N)

Source from the content-addressed store, hash-verified

20 return start;
21 }
22 static int countSquares(int N) {
23 // code here
24 int sqrRoot = mySqrt(N);
25 return sqrRoot-1;
26 }
27}
28
29// 1. find the square root

Callers

nothing calls this directly

Calls 1

mySqrtMethod · 0.95

Tested by

no test coverage detected