Merge branch 'BAEL-1525' of https://github.com/eugenp/tutorials into BAEL-1525
This commit is contained in:
commit
7c759545be
@ -58,4 +58,5 @@ public class Palindrome {
|
|||||||
return IntStream.range(0, temp.length() / 2)
|
return IntStream.range(0, temp.length() / 2)
|
||||||
.noneMatch(i -> temp.charAt(i) != temp.charAt(temp.length() - i - 1));
|
.noneMatch(i -> temp.charAt(i) != temp.charAt(temp.length() - i - 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user