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
God i love haskell
what
This is great
Done.
Numbers very big -> linear time won't work. I'll remove the DP tag.
Wow, thanks! I wonder what's causing this...
Still did not fix
Duplicate of https://www.codewars.com/kata/55f89832ac9a66518f000118
Was this written by ChatGPT? The comments and the nonsensical test cases lead me to believe it is
I'm having the same trouble as the user below me. My solution is correct and I'm not using any Lens imports but I'm getting the following error:
uncaught exception: IOException of type UserError
user error (Could not parse solution correctly)
I'm also getting this error but i DO have RankNTypes enabled..
Array.includes is a linear search (O(n)), so this is actually O(n^3).
didnt know about this function
didnt know about this
Loading more items...