@@ -0,0 +1,248 @@
+package com.dw.algorithmlib;%0A%0Apublic class MathHelper %7B%0A%09%0A    public boolean isSquare(int n) %7B%0A    %09int t = (int)Math.sqrt(n);%0A    %09%0A    %09return t*t == n;%0A    %7D%0A%0A%09public static void main(String%5B%5D args) %7B%0A%09%09// TODO Auto-generated method stub%0A%0A%09%7D%0A%0A%7D%0A

add isSquare check