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
Seems like its O(n ^ 2)
You are free to print during tests, in that sense they are not hidden.
This comment is hidden because it contains spoiler information about the solution
Hi :)
Can someone direct me towards info about what is being done in this exercise?
I am not sure if I am being able to follow it, or even sure if I understand what I am looking at to begin with..
Thank you :)
This comment is hidden because it contains spoiler information about the solution
Noted. Thank you
Well you don't need break after return and the
()
in the ternary operatorThis comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thank you
The best way to find out is to run the code in your IDE and debug it locally, step by step.
Which part of the code is causing it to malfunction?
Thank you
https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution#how-do-i-post-to-a-kata-discourse
{ 1, 1, 11, 2, 3 } => 6
Loading more items...