matin mortazavi / + bonus

This commit is contained in:
Matin
2026-04-23 04:57:11 +04:30
parent 67739f36c5
commit 574ad85ff0
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -227,6 +227,7 @@ public class BonusExercises {
/* /*
you should return a list of *words* which are palindromic you should return a list of *words* which are palindromic
by word we mean at least 3 letters with no whitespace in it by word we mean at least 3 letters with no whitespace in it
vv
note: your implementation should be case-insensitive, e.g. Aba -> is palindrome note: your implementation should be case-insensitive, e.g. Aba -> is palindrome
*/ */
+1 -1
View File
@@ -132,7 +132,7 @@ public class MainExercises {
1, 1, 1, 1 1, 1, 1, 1
Note: As you can see in the examples, we want to generate distinct partitions, Note: As you can see in the examples, we want to generate distinct partitions,
which means 1,2 and 2,1 are not different — they count as the same combination. which m eans 1,2 and 2,1 are not different — they count as the same combination.
You should generate all partitions of the input number. You should generate all partitions of the input number.