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.
Probably you should try
string.IsNullOrEmpty
. Need actual code to say moreThis comment is hidden because it contains spoiler information about the solution
Could you describe how it works?
Why from "zqdrhpviqslik","xffrkbdyjveb" the most similar to "rkacypviuburk" is the first one while the second has the same number of min changes (9)? (This is the last test case here.)
Just ignore these unit tests and submit? (They use
AreEqual
which is not right for floating point numbers comparision.)Nice reducing!
static char[] symbols = new char[]{'0','1','2','3','4','5','6','7','8','9','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z'};
Why not
static string symboles = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"
?Why?
For those curious, check "C# 6.0 in a Nutshell" by Albahari br. at Ch.4 Advanced C# - Dynamic Binding:
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution