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
There is a nested loop, though. Within the first loop, a function call is made to getDivisors() which enters a second loop. It's more readable by being placed into its own function, though.
I always thought this kind of problem would require a nested loop. But your approach gave me a new perspective. What a nice representation of functional programming.
Hi can you explicate me this code please ?
Very beautiful statute.
I don't think there's a more efficient way than this.
Maybe marginally better if you skip prime numbers.
nice solution ! Is there any chance not to make iteration through all elements of array ?
Why is the direct + space and join (' ') different?
练英语咯, 多看就看懂了;
都是些奇技淫巧,书上一般没有
看了。答案。我哭晕在厕所。。。。。默默滚去看书学习
方法好多啊
做这种代码高尔夫,每一个字符都要计较,尤其是字符限制比较严格的。
我这一系列的还算是限制比较宽松的,一般都是我能精简出来的代码长度加上5到10字符
往往可以看到比限制字符少很多的答案,高手在民间。。。
我次奥!!
我怎么没想到!!
哔了狗了。多谢大神!!妈个鸡!!居然是这样的子的!!!
SB了
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...