@@ -0,0 +1,320 @@
+// http://codingbat.com/prob/p153748%0A%0Apublic boolean shareDigit(int a, int b) %7B%0A  int aLeftDigit = a / 10;%0A  int aRightDigit = a %25 10;%0A  int bLeftDigit = b / 10;%0A  int bRightDigit = b %25 10;%0A  %0A  return (aLeftDigit == bLeftDigit %7C%7C aLeftDigit == bRightDigit %7C%7C aRightDigit == bLeftDigit %7C%7C aRightDigit == bRightDigit);%0A%7D%0A

Create shareDigit.java