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.
Ahh I spent quite a while re-checking instructions and my code...
Regret not reading disclosure first...
In python there are non-existent frets for uniformity with original version. I don't know if it was intentional.
Heare is a python fork without non-existent frets: https://www.codewars.com/kumite/63aa19c09803f2c6daa816fe?sel=63af442a94a3e60edcb66008
The tests (seems to be both JS and Python) test "exact" notes on frets that don't exist. For example:
note=F#, exact=true, string=3, position=2
where the 3rd string only contains a singleF#
. It should either be mentioned in the description that these "hypothetical positions" are tested, or just removed from the test cases.This comment is hidden because it contains spoiler information about the solution
approved
After completing kata, and looking at other solutions I feel like I cheated without meaning to. I defined objects mentioned, since it is first time I came across a kata that said it had pre-defined objects. There was no info on structure of objects, so I figured the write up was old and there is no more pre-defined objects which is why I made. My solution doesn't work with out my objects so there must be some difference in how I defined them. I have no idea how to know what is wrong since I don't know how the objects are structured or what's trying to misuse them.
An improvement would be to display objects in the instructions;
Further, I am a little slow. I realize now I can just loop through the objects and print, to see if they existed and their contents. It is only 7th Kyu and that is my excuse.
This series is SQL only , translations to other languages will result in duplicacy
My comment was a warning for newer user to not memorice this :)
The problem is that the Best Practice solution is the opposite of best practice!
Description: (You can mutate the input if you want, but it is a better practice to not mutate the input)
What's the problem than? :)
I solved it by trial and error as well since the rules I found were for closed tours, and this kata is about open tours
You are mutating the input
This comment is hidden because it contains spoiler information about the solution
I suggest to include the two objects in the description, or at least give a precise description of them, since we cannot be sure how they are formatted.
Unpublishing because:
Loading more items...