matin mortazavi / + bonus
This commit is contained in:
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user