Ad
  • Custom User Avatar

    Cool Kata, but i think the level is for minimum 7 kyu ;) :)

  • Custom User Avatar

    Whaaaaaat? :)
    Here in the description is described "Fix the bug in Filtering method", but not write complet another code! :)

  • Custom User Avatar

    Hi, why I have this error on the test?

         assertEquals(expected, GeometryBasics.trianglePerimeter(t), 0.000001);
                                                                 ^
    

    Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output

  • Custom User Avatar

    Hi, I don't understand, why the Random test not passed? :/

    List of gold: 629, 480, 749, 424, 629, 702, 692, 552, 309

    A: [629, 749, 629, 692, 309] = 3008

    B: [480, 424, 702, 552] = 2158

    arrays first differed at element [0]; expected:<2787> but was:<3008>

    What is the problem? Or must some more description for this task to write.

    Thanks!

  • Custom User Avatar

    Hi neilm,

    I have one question, I don't understand why in this example is 577?

    subStr: FklhOIvYefXaBJAMRxVKFklhOIvYefXaBJAMRxVK
    str:mSdeQJdtjxaGBIxspmdSFuvyeIeQVUmjjfedTtTBlJXeOSSkntXrMALVUoyHjmyZgDCDqSNdeyneKnabAZdxZMyFJxzAEqkCXfKvCOkWfumEmKlnrpILoGjmDmJJVsfCmACZeORXSEzXyVdxcDnSvXMxNmvJzBtiYpXhpEazWjYqylewPkSVeYlFydiWhSEqCbXtxvNwXcArqFMVNWzxXcSUenbEsoTuXAxlXLVrUIyiASEiwsThcxwEDsEFMdhfrEdXSezUIuHKxfPdlNBBtsHMiiWhLtNBHWjtGqtGOXBYqATqsaUcShbQluafzjpGFFklhOIvYefXaBJAMRxVKFklhOIvYefXaBJAMRxVKmwggclPBaFXhrDZVYTqtXTVFklhOIvYefXaBJAMRxVKFklhOIvYefXaBJAMRxVKyzeajpLMaFlYUjCGhmiAdedknTFFklhOIvYefXaBJAMRxVKFklhOIvYefXaBJAMRxVKKoDDYsIIeuPICjiHCKalIxAhBZdDlDmvdTpctNnxDOGYiHaEijobGFqvDqcSFMMfNwFklhOIvYefXaBJAMRxVKFklhOIvYefXaBJAMRxVKFklhOIvYefXaBJAMRxVKwKQTrLvcvIAhneeYJEggybsgquOwEsanKlnsATYiIUXFklhOIvYefXaBJAMRxVKFklhOIvYefXaBJAMRxVKUCZSUvCdkffXuTwNzWFrfdbpQWhmOZuiaDNXBnYWlQGTGXzjBPVwNRKMuNQhXUXnodGNUGWCFiHDGKhzMVnhZWQxLItecyrjeVYHAbyZMtOhHlTzafeMGtWofHiTZFsqKyVwGNKQvnPrGOtgrMWyZkRBUhhOIpkrKrmaMQpxlxFORnYtrDBtyuhxirZQFpYuMgtovbZTxTxtGYqGjIXmyoccHOqzcXHxAKYpjDHGetneCEteGLlYBZpgTirAXqZVXzqHSAmWcNwUHuIDwFWbGrBJFvEUFAdANkqheSwiSWJafMGzWcqpWPLuAdaulrLwfGGMZJbzovnrWSyiSLAeGReybOobWhxIETVHrzdWzYtjhLajzzWubxXKFkrVXWyJBKFOFYRtpJVpcwWqaViwbajMccjveIdmqiHtLUphJYoaRCpuccSxHmCNkwYxrakFqCKYDnPJFm

    expected:<660> but was:<577>

    Thanks!

  • Custom User Avatar

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

  • Custom User Avatar

    Hi Schulzkafer,

    Thank you for the all of this Katas:

    Kingdoms Ep1: Jousting: COMPLETED!
    Kingdoms Ep2: The curse (simplified): COMPLETED!
    Kingdoms Ep4: The Dancing Witch: COMPLETED!

    Kingdoms Ep2: The curse (normal): not yet...

    When I trying the Sample Tests: Completed in 25ms
    But for the all tests: Execution Timed Out (16000 ms)

    I don't understand were is the error.

    We have a vocabulary with 1 or 2 characters?

    Or the vocabulary is too long?

    Thanks.
    Valeri

  • Custom User Avatar

    Great Kata! ;) Thank you dinglemouse! :)

  • Custom User Avatar

    Hi, why the:
    assertEquals("111222333Aaa", Kata.hasSubpattern("123A123a123a"));
    assertEquals("111222333Aaaa", Kata.hasSubpattern("12aa13a21233A"));

    • Why expected the all characters from the string?

    But the:
    1TUPlKrKtUMa1aP4fIiulKO7V5TCzMN9MYs51TT1s9MDriV4N1qID1rKKfsH5t95qfi71754TH1Hrz555NMO4OYFM5OPCuF1rOlUTMMMNra4NFDItqN4YCVKOuz
    expected:<111[4455579CDFHIKKMMMNNOOPTTUVYafilqrrstu]z>
    .but was:111[111111444444555555555777999CCCDDDFFFHHHIIIKKKKKKMMMMMMMMMNNNNNNOOOOOOPPPTTTTTTUUUVVVYYYaaafffiiilllqqqrrrrrrssstttuuuzz]z>

    • All letters must sort in the result. Right?
    • Why expected fewer characters? :/
  • Custom User Avatar

    Thank you very much. I tried another variant and that works now! ;)

  • Custom User Avatar

    Hi,

    I can't just this Test Passed.

    and I don't understand what is the mistake? :/

    mainRoad: abcdefghijkX
    sideStreets: [, AAAAAAAAAA, , BBBBBBBB, , CCCC]

    expected:<abAc[AdABAeABAfABACABAgBCBhBC]BiCjkX>
    but was:<abAc[dABeABfABCABgABCABhABACA]BiCjkX>

    Thanks.

  • Custom User Avatar

    Great Kata! A lot of ideas must implement to find a solution. Thanks! ;) :)

  • Custom User Avatar
  • Custom User Avatar

    Hi.

    Should analyze the Polynomial for every "text", and step by step to understand what is the result.

    I got it! Done.

    Thanks for the Kata!

  • Custom User Avatar

    Hi zLuki.

    I made for all variants implicit 8 Steps to calculate the Polynomial. But this is not the correct idea.

    Exist some idea or how to know how many Steps most to calculate for one Polynomial?

  • Loading more items...