Commit bd267bb
Fixed error in Palindrome.java and gave semantic names to functions (TheAlgorithms#3643)
* fixed error and changed functions names
fixed error at line 57 and gave semantic names to functions with comments
* renamed functions
renamed functions to match with original functions' names in the file
* Updated TestCases
Updated TestCases and changed a function name
* Removed main() and changed function name
Removed main() and changed the function name from isPalindromeStringBuilder to isPalindrome
* fixed typo
Co-authored-by: Debasish Biswas <debasishbsws.abc@gmail.com>1 parent acf7a86 commit bd267bb
File tree
2 files changed
+19
-31
lines changed- src
- main/java/com/thealgorithms/strings
- test/java/com/thealgorithms/strings
2 files changed
+19
-31
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 9 | + | |
29 | 10 | | |
30 | 11 | | |
31 | 12 | | |
| |||
54 | 35 | | |
55 | 36 | | |
56 | 37 | | |
57 | | - | |
| 38 | + | |
58 | 39 | | |
59 | 40 | | |
60 | 41 | | |
61 | | - | |
| 42 | + | |
62 | 43 | | |
63 | 44 | | |
64 | 45 | | |
65 | 46 | | |
66 | 47 | | |
67 | | - | |
| 48 | + | |
68 | 49 | | |
69 | 50 | | |
70 | 51 | | |
| |||
Lines changed: 15 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
18 | 25 | | |
19 | 26 | | |
0 commit comments