Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
should_return_the_uncheated_factorial
My code apparently passes all the tests but seems to be failing for this random test.
Where am I possibly going wrong?
Hey! The errors you are encountering are probably because of the test conditions which checks your algorithm/code for it's optimality over a varying number of test cases.
Try optimizing your code to the best of your abilities and keep an eye on the test conditions and I'm sure you'll pass with flying colours.
Happy Coding!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Abbasador: mark your post as having spoiler content next time too.
letter == "a" || "e" || "o" || "i" || "u"
is not how you use logical operators in JavaScript. For some explanation see for example here.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thank You. ^_^
Your if condition is wrong, read how to test multiple conditions with logical operators.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Oh I'm sorry, and thank you.
I'll defintely keep it in mind from the next time! ^_^
Loading more items...