-
-
Notifications
You must be signed in to change notification settings - Fork 44.1k
Bonfire: Mutations: ['Mary', 'Maary'] #845
Copy link
Copy link
Closed
Tshegofatso/freecodecamp
#9Description
Challenge http://www.freecodecamp.com/challenges/bonfire-mutations has an issue.
The example from the task says:
['Mary', 'Aarmy'] should return false because 'Mary' is only 4 letters while 'Aarmy' is 5, so 'Mary' can't possibly contain 'Aarmy'.
Consider this example: ['Mary', 'Maary']. 'Maary' has 5 letters, but 'Mary' contains all the letters from it.
I think, we should:
- or remove ['Mary', 'Aarmy'] example from the description
- or just set a condition: length of the first string >= length of the second string
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels