@@ -0,0 +1,351 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=13043%0A%0Apublic class LeftAndRightHandedDiv2 %7B%0A%09public static int count(String S) %7B%0A%09%09int elbowCollisionsCount = 0;%0A%09%09%0A%09%09for (int i = 0; i %3C S.length()-1; ++i) %7B%0A%09%09%09if (S.charAt(i) == 'R' && S.charAt(i+1) == 'L') %7B%0A%09%09%09%09elbowCollisionsCount++;%0A%09%09%09%7D%0A%09%09%7D%0A%09%09%0A%09%09return elbowCollisionsCount;%0A%09%7D%0A%7D%0A

Create LeftAndRightHandedDiv2.java