CodingBat closeFar Solution April 05, 2017 Get link Facebook X Pinterest Email Other Apps public boolean closeFar(int a, int b, int c) { return (Math.abs(a-b)<2&&Math.abs(a-c)>1||Math.abs(a-c)<2&&Math.abs(a-b)>1 ) && Math.abs(b-c)>1;} Comments
Comments
Post a Comment