Retired
Is This Piece Under Threat? (retired)
Loading description...
Algorithms
Puzzles
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
This comment has been hidden.
Hi,
Unfortunately, you did a duplicate of this one: https://www.codewars.com/kata/5b5736abf1d553f844000050
The context isn't exactly the same, but the underlying logic is exactly the same, your kata only adds iterating over the board first, and converting to a boolean for the output.
Other than that, a well done kata, yes. Note that mixing ints and strings in the input isn't a good idea. You could have used characters for the tiles as well.
Cheers
Very well written kata, keep 'em coming! I would consider changing the letter for knight to N as K usually represents the King in chess.