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.
You created a new array instead of swapping the values of the original array. In this case,
args[0]
andargs[1]
still have the same values.My bad, after another review this solution does not pass all test cases.
Thanks @kazk, noted.
@hobovsky and @kazk, received answer from fCC. We are allowed to share and adapt content from fCC under the Creative Commons 4.0 International license where stated in their LICENSE.md. Edit to kata description have been made, feel free to check. Human-readable summary of license here.
Just asked clarification from fCC, waiting for answer, thanks @hobovsky.
My bad, if anyone can help to retire this kata? I don't know how to.
@kazk, I understand your concern. I created this kata, not because of honor points, but because it was interesting and thought others would think the same. Anyways, thank you for your help :). Kata will be retired, I don't mind, I learnt a lot about making one anyways.
@Kacarott and @dfhwze, thanks a lot for the help! Kata looks more polished now, will certainly apply all these when making future katas.
Quite new at making katas. May I know how to?
I will leave the kata as it is and the mods will make the final decision. I don't mind whatever happens to the kata, just enjoying CW.
Hey
Blind4Basics
, I read through the Terms of Service from their website as well as their GitHub repo but couldn't find any way that I am breaking a license or notice.However, to be sure, should I just retire this kata? Thanks.
Nope, there are no copyright license that I am trespassing. Here is a link to confirm: https://www.freecodecamp.org/news/about/
Snippet from link:
Yes, I removed
result
as it was redundant, now functions have to calculate result of every individual problems. I have already updated the description as well as initial solution.Hey guys, took out the "weird test cases", now only has valid ones. Thanks for the suggestion.
Random test case added, thanks!
Loading more items...