Commit 544f48f
Fix is_palindrome_recursive logic in strings/palindrome.py (TheAlgorithms#12946)
* Fix: is_palindrome_recursive logic for 2-char strings
* Update palindrome.py
* Update palindrome.py
* Update palindrome.py
---------
Co-authored-by: Maxim Smolskiy <mithridatus@mail.ru>1 parent 0876a87 commit 544f48f
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| |||
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | | - | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
0 commit comments