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.
Approved, thanks!
Cool, thanks!
Hey @Aizaz_Ahmad, ball is in your court to fix this.
Was it resolved?
It looks like you are correct, on that website it looks like people have submitted solutions since 2012: https://codeforces.com/contest/208/status/A/page/576?order=BY_ARRIVED_DESC
This kata was created in 2015/2016.
I think this can be remedied by adding a link in the description that goes to the original author's website.
anyway I'll think about other ways to make it better.
I don't see the hypothetical adding of strings into the arrays as having much if any real life application, but I do see the original version of this kata having real life applications such as when sorting a list of arrays based on descending total value. I'm just brainstorming ways to make this more original even though I already think the current version of the kata is good enough.
There can be real life mixed arrays of ints and strings though.
For example you are allowed to set usernames on Facebook which gives you a custom URL like Facebook.com/user/megawatt (just an example). If you don't set the username, it defaults to userid so something like Facebook.com/user/123456.
Put that into an array based on ending url to access the user page and you can get something like [123456, "megawatt"]
Would adding strings to the arrays and have them still sort it by total sum of the integers while preserving string order, be original enough? i.e.:
?
What should we do then? I agree that it can be considered a combination of those other katas, but many 6 kyu katas are just combinations of easier katas.
Here are some examples of other 6 kyu kata that can be considered to be made of concepts from easier katas:
https://www.codewars.com/kata/556deca17c58da83c00002db (tribonacci square)
Is the same as calculating the fibonacci sequence of which there are dozens of, but with adding the three preceding instead of two preceding
https://www.codewars.com/kata/5264d2b162488dc400000001 (Stop gninnipS My sdroW!)
Can be considered a combination of: https://www.codewars.com/kata/5168bb5dfe9a00b126000018 (reversed strings) and https://www.codewars.com/kata/566f571ed78037c7b6000036 (get length)
https://www.codewars.com/kata/551dc350bf4e526099000ae5 (dubstep)
Is pretty much https://www.codewars.com/kata/5547929140907378f9000039 (vowel remover) but with "WUB" instead of vowels
https://www.codewars.com/kata/54bf1c2cd5b56cc47f0007a1 (counting duplicates)
is pretty much https://www.codewars.com/kata/5558cc216a7a231ac9000022 (finding duplicates) but counting the results instead of returning it
This one is about combining separate arrays into one array based on descending array value. It's not a completely original idea, but I don't think it's been submitted before. I seriously think this kata is fun, challenging, and unique enough to be considered its own.
If anything at least it's a combination of other katas instead of a straight up duplicate with some elements changed around (WUB instead of vowels, returning the amount of duplicates instead of returning the duplicate values themselves, fibonacci but with adding up the three preceding numbers instead of two, etc).
Approved, thanks!
They'll have to scroll down to find it. Users can sort by: Best Practice (default), Clever, Newest, and Oldest.
I think translating the answer into words seems like an unnecessary step that doesn't add anything to the kata.
Ahh interesting, at least we got it working now!
Approved, thanks!
Approved, thanks!
You're right, updated.
Loading more items...