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.
Interesting kata... I think 6 kyu is a fitting difficulty for this kata!
Thanks, I was wondering this.
you should really make an array for counting repeats (i.e. frequence array or ans unordered map);
Seems difficult at first but after looking at it for a bit it's quite simple... Nice kata!
Thank you I hope this answer stays up because it's something newbies like me may not notice after figuring out this problem.
Interesting kata... for anyone wondering why 1.2.3.4 is not a valid IP. It's because the IP is passed in a string with a space in it. "1.2.3.4" is a valid IP but not " 1.2.3.4" and "1.2.3.4 ".
agreed
One of the easier 6 kyu katas I've done. I've rarely used bitset library (C++) so this kata taught me something new today (^_^)b
Dang... last discussion on this kata was 3 years ago... nice kata btw
Ruby 3.0 should be enabled, read this to learn how to do it
Please organize the structure of test fixture as following (although it has been mentioned in the attached link, I'm repeated here again)
This comment is hidden because it contains spoiler information about the solution
Did not come up with any quick or fancy way of doing this, just comparison. However, this is a really fun kata, I enjoyed it a lot!
The kata asked you whether or not if two chess pieces are on boxes with the same colour. If it is, return true. Otherwise return false.
As you can see from the first example, one piece is at A (first column) 1 (first row), while another piece is at C (third column) 3 (third row). This one should return true because both chess pieces are on boxes with the same colour.
I hope this helps...
Shortest 6 kyu I've ever done. I'm not a chess player but this kata is frankly interesting!!!
Agreed
Loading more items...