public int compare (String version1, String version2) { // write code here String[] s1 = version1.split("[.]"); String[] s2 = version2.split("[.]"); int len = Math.min(s1.length, s2.length); for (int i = 0; i < len; i++){ if(s1[i].equals(s2[i])) conti...