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.
not an issue.
Thanks corrected
This comment is hidden because it contains spoiler information about the solution
You definitely went wrong with not using code blocks when posting code :D
Please see https://docs.codewars.com/references/markdown#code-block
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
It's almost like a hard coded solution but shrunk down to avoid taking too much space on the one line
This was very difficult for a 7 Kyu kata and most of that difficulty comes from the optimization stage. I do think optimization can work in 7 Kyu, but not on a somewhat complex problem as GCDs.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Maybe you need to hear some not funny jokes?
At a job interview a programmer is asked: how do you write code?
Answer: well, it should be modular, easy to test, easy to maintain, easy to read, and use minimal/optimal amount of resources. Oh, and also to integrate easily with existing code.
(at this point the interviewer-technical director remembers his real project he is currently working on and cries)
Why are you using
(t+"")
? Is this to naturally convert to string so there are no compile errors?How come there is no solution from you to view? I wanted to know how you got a simple implementation out of this kata.
Loading more items...