Browse Source

docs: fix inconsistency between subject and test

pull/2648/head
amin 4 months ago committed by zanninso
parent
commit
33854c08cc
  1. 10
      subjects/java/checkpoints/is-anagram/README.md

10
subjects/java/checkpoints/is-anagram/README.md

@ -24,10 +24,10 @@ public class ExerciseRunner {
AnagramChecker checker = new AnagramChecker(); AnagramChecker checker = new AnagramChecker();
// Test cases // Test cases
System.out.println(checker.isAnagram("listen", "silent")); // Expected output: true System.out.println(checker.isAnagram("listen", "silent"));
System.out.println(checker.isAnagram("triangle", "integral")); // Expected output: true System.out.println(checker.isAnagram("triangle", "integral"));
System.out.println(checker.isAnagram("apple", "pale")); // Expected output: false System.out.println(checker.isAnagram("apple", "pale"));
System.out.println(checker.isAnagram("Astronomer", "Moon starer")); // Expected output: true System.out.println(checker.isAnagram("Astronomer", "Moon starer"));
} }
} }
``` ```
@ -40,6 +40,6 @@ $ java -cp build ExerciseRunner
true true
true true
false false
true false
$ $
``` ```

Loading…
Cancel
Save