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.
Why recursive lambda?
It is generaly not a good practice to try to make the code as short as possible but to make it as readable as possible...
For example if you look at my solution, it is basicaly the same as yours but a lot more readable.
(Just a tip :))
How can anyone vote for a best practice here blows my mind. Disgusting code tbh
Not a good practice to go for a one-liner like this. It makes it really unreadable. Try not going for one-liners but for a readable code.
Hi, your solution is unreadable. It is a lot easier to think about an algorithm then using some regex. (It is probably only an opinion and some people could argue)
Hi, that isList method of yours is not a good practice. Having this function, that only does exactly one function which is inside is not very good. You can just use it explicitely there
It should be changed. It is even more sad, that 38000 people are getting the wrong practice.
Hello,
I believe it is a terrible practice to return an array, which consists of multiple types.
For example in python, the arguments should be typed - I believe it would be much better if the function returned a Tuple[int, int, bool]