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.
the in-build factorial function of math includes that case
This comment is hidden because it contains spoiler information about the solution
I don't understand how's this solution covers the '0!' case in which is suppose to be equal to 1.
okay , thank you !
Maybe the tests weren't strict at the time this solution passed them or they got lucky with the random tests. Sometimes the solutions aren't revalidated and some of them won't pass the tests anymore but they still show in Solutions tab.
i did same , but it showed timeout !
Thats nice but you need to train recursion HAHAHA
This comment is hidden because it contains spoiler information about the solution
lol this guy
It is important to consider the case when
i
andn/i
are both square root ofn
.It's correct but it doesn't make you understand how to it works.
Marked as resolved.
Test with "a.b" doesn't pass.
Nope. It's still not resolved. You need to make a new reply and mark the checkbox below the comment box.
Thanks. I edited my previous comment and marked the issue as solved. Did that do it? I did not receive any feedback that it worked and the comment keeps marked as "Issue" in red.
Loading more items...