File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ package codility;
55 * @author David Daniel Kurtz <
[email protected] >
66 */
77public class AnagramOfPalindrome {
8- public int result(String S) {
8+
9+ public int solution(String S) {
910 int uniqueCount = 0;
1011 String newS = S;
1112 int i = 0;
@@ -30,8 +31,8 @@ public class AnagramOfPalindrome {
3031 }
3132
3233 public static void main(String[] args) {
33- System.out.println(new AnagramOfPalindrome().result ("dooernedeevrvn"));
34- System.out.println(new AnagramOfPalindrome().result ("kakya"));
35- System.out.println(new AnagramOfPalindrome().result ("aabcba"));
34+ System.out.println(new AnagramOfPalindrome().solution ("dooernedeevrvn"));
35+ System.out.println(new AnagramOfPalindrome().solution ("kakya"));
36+ System.out.println(new AnagramOfPalindrome().solution ("aabcba"));
3637 }
3738}
You can’t perform that action at this time.
0 commit comments