Java-Jet icon indicating copy to clipboard operation
Java-Jet copied to clipboard

String Palindrome

Open ShivangiSingh17 opened this issue 6 years ago • 6 comments

You need to write a simple Java program to check if a given String is palindrome or not. A Palindrome is a String which is equal to the reverse of itself, e.g., "Bob" is a palindrome because of the reverse of "Bob" is also "Bob." Solve using either recursive or iterative method.

ShivangiSingh17 avatar Oct 11 '19 16:10 ShivangiSingh17

I have done the proper solution. Can you please assign me this issue. Please add Contributing Instructions.

AbhinandanSingh11 avatar Oct 11 '19 16:10 AbhinandanSingh11

@AbhinandanSingh Sure

ShivangiSingh17 avatar Oct 11 '19 17:10 ShivangiSingh17

I've added the code this is my pull request c5ad1df

AbhinandanSingh11 avatar Oct 11 '19 18:10 AbhinandanSingh11

I'd also like to contribute by solving in iterative method.

aryansohal avatar Oct 12 '19 19:10 aryansohal

I've created the pull request by name iterative method #129

aryansohal avatar Oct 12 '19 20:10 aryansohal

I have solved this issue with a recursive method...please review it 125582f

jag-singh-96 avatar Oct 13 '19 10:10 jag-singh-96