Java icon indicating copy to clipboard operation
Java copied to clipboard

Update Palindrome.java

Open Swarali-31 opened this issue 1 year ago • 0 comments

Added a new recursive method (pointer based approach) to reduce multiple substring calls and added JUnit Tests for testing the edge cases.

  • [x] I have read CONTRIBUTING.md.
  • [x] This pull request is all my own work -- I have not plagiarized it.
  • [x] All filenames are in PascalCase.
  • [x] All functions and variable names follow Java naming conventions.
  • [x] All new algorithms have a URL in their comments that points to Wikipedia or other similar explanations.
  • [x] All new code is formatted with clang-format -i --style=file path/to/your/file.java

Swarali-31 avatar Oct 15 '24 09:10 Swarali-31