Ad
  • Custom User Avatar

    User should not have to add this in their code

    use std::collections::HashSet;

    to get it to work.

    Needs to be in set up of test suite

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    The description says to be a senior, you must have a handicap greater than 7. Not 7, but strictly greater. It only took my solution when I allowed handicp to be 7. Need to fix tests or description.

  • Custom User Avatar

    sadly, yes, but at least I've gained experience in making a kata

  • Custom User Avatar

    super unclear when it says to ignore upper and lower case. Just say no case sensitive. I had the solution, but spent 20 minutes struggling, only to make the og word all lowercase, and finally work.

  • Custom User Avatar

    in java, instructions say, order of elements will always be the same.
    BUT, in test case 2, the mouth, ), preceeds the eyes, :.

  • Custom User Avatar

    My code wasn't working so i came to discussion to see if other people were having a similar issue. I read your comment and changed my parameter types to double, and it took my code. Any variable type can overflow but it's easier for ints because they only use 4 bytes. Doubles have 8 bytes. (These sizes can vary but are the standard). So a double has twice as much bytes as a int, but it can store a number 16x larger than an int.

  • Custom User Avatar

    I think this one i a 7kyu because not many people will remember the geometric formula for sum of interior angles as it relates to number of sides. If those mistakes were intentonal, then it should say in the description, there is a problem with the given code, part of the challenge is to fix it.

  • Custom User Avatar

    of course if one of the dimensions is zero then the volume is zero. the volume is a measurement of how much space an object occupies. So if one of the measurements was zero, then it would, theoretically, be infinitly thin, and occupy no space in 3 dimensions. it does however take up room 2 dimensionally

  • Custom User Avatar

    I had a similar issue because my code would get each word from the dictionary then add it to a new string i was building then adding a space. the issue with this was the last word also had a space. for example, "happy apple mark " is not the same as "happy apple mark". if this is the case, you need an if statement so it doesn't add a space at the end, or you could remove the last character. either way, it can't end in a space

  • Custom User Avatar

    I think that the test cases should not mark the code wrong for a space at the end.
    for example, "happy apple mark " should count.