Update Palindrome.java
This commit is contained in:
		
							parent
							
								
									4c044fcaee
								
							
						
					
					
						commit
						7c6a4b0b4d
					
				| @ -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