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.
10e + 1s case is irrelevent because length check
what happens if you have 10 of e and 1 s? They would cancle each other out... Better 2 variables.
Because the second j starts from i+1 so it will never be equal to i and it skips unnecessary steps.
If your loop has j=0 replace it with j=i+1
I really need to learn about the built in functionality. My method was 48 lines long (including spacing lines and closing bracket lines). GRRRRRRRRRRRRRRRRRRRR!!! haha
This 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
This comment is hidden because it contains spoiler information about the solution
I had to make a solution like this too, because of the long data type. I had originally had good, concise solution, but had to use a brute force solution like this.
This 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.
I just answered you below pointing out how you can find this out for yourself.
This comment is hidden because it contains spoiler information about the solution
Loading more items...