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
I don't think it's fair to retire a kata just because people can cheat. In that case, almost every kata would be taken down because people could just google the answers. People who cheat on cw are just cheating themselves, it shouldn't have to affect the kata.
Well, i cant really fix that :( . Even so, i dont think anyone has posted a 61 char or less solution on the original
oopsie. fixed. thanks for catching that :)
Approved 👍
There's none in js, I think none in Python too
Regarding all previous issues concerning negative inputs. I see the misunderstanding. When I meant input array being non negative, I was referring to the top of the upside down pyramid. sorry for the inconvenience.
It doesn't have to be strictly decreasing. Having the input array 16,20,2,30 is possible. However the input must be non negative
Made it clear in the description that values will consist of positive integers. Please update your translation accordingly to make sure inputs will be positive integers.
Made clear that input arrays will always be non-empty
#1 is fixed.
As for #2, I cannot code in Haskell so i will wait for someone who can.
Is this only showing up in Python?
I dont get what you mean, that should return [] as it does correctly.
Approved 👍
FIXED!
Loading more items...