(String[] args)
| 42 | } |
| 43 | |
| 44 | public static void main(String[] args) { |
| 45 | String[][] pairs = {{"apple", "papel"}, {"carrot", "tarroc"}, {"hello", "llloh"}}; |
| 46 | for (String[] pair : pairs) { |
| 47 | String word1 = pair[0]; |
| 48 | String word2 = pair[1]; |
| 49 | boolean anagram = permutation(word1, word2); |
| 50 | System.out.println(word1 + ", " + word2 + ": " + anagram); |
| 51 | System.out.println(anagram(word1, word2)); |
| 52 | } |
| 53 | } |
| 54 | } |
nothing calls this directly
no test coverage detected