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.
Actual and expected are swapped in PHP
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/190.
Please join the discussion to help us identify duplicate kata and retire them.
https://docs.codewars.com/authoring/guidelines/translation/
"Do not translate kata into languages where the difficulty would significantly differ"
The SQL version is significantly harder
Should it really exists as a translation ?
Functions in SQL are an advanced issue.
Missing return type in initial solution setup of TS
Anti cheat is hard, I know... (JS)
https://www.codewars.com/kata/reviews/5694d307531bb7194d00000f/groups/630dcfb192865d00016fe38b
this looks super fun
i want a python translation please !!!!!!
This comment is hidden because it contains spoiler information about the solution
Node 18 should be enabled
Ruby 3.0 should be enabled (Refer this & this for more detail)
The different return values for the guess function strike me as an odd design choice. If I were making the Hangman class for production, I might suggest that the board, sequence of misses, and number of strikes remaining be read-only properties of the class, and the guess function simply return true on a new discovery.
Why the heck there's a test with
10_000_000
and there's no mention of that anywhere?It was really hard to figure out what to do because:
This is kind of mess in description that makes people go wrong way many times during solving the kata. Please make instructions clear for SQL
The SQL version of this kata should contain better instructions, like that the result should contain 17 rows, with numbers from 0 to 16 as a column named "n" and another column named "fact", with the factorial value of "n", also that you are not allowed to use CREATE FUNCTION, intead should use WITH RECURSIVE cte.
Training in PostgreSQL 9.6
Expected 17, Got 0
Factorial of what number is 17? The question expects something it doesn't explain. Why should the function return 3 values?
This can be down with a CTE or a function, and recursion actually implies their use.
Pyhon translation has been provided.
Please review and approve.
Loading more items...