Ad
  • Custom User Avatar

    Tests have been updated

  • Custom User Avatar

    Not sure that copying every single bit from standard library will be helpful

  • Custom User Avatar

    Yeah, it all makes sense. @Voile apologies for being overly defensive. Shouldn't have been answering to the comments in the middle of the night.

  • Custom User Avatar

    Not even trying to convince. Just pointing out that the rule that not enforced autotaically and has exceptions can not be mandatory.

  • Custom User Avatar

    Thanks for the implementation. I see how tests should be updated to handle the 'hash' cases properly

  • Custom User Avatar

    it is not mandated for every kata, see "Under some rare circumstances, it is allowed to use so-called randomized tests instead of fully random ones."

    Terminology is quite weak in this section of documentation. I doubt that it is expected to have truly random tests instead of tests with randomised testing values.

    I will update the tests, making the basic ones (visible to user) with only fixed inputs. And extended version with randomised inputs, duplicating existing ones. Even though the solution passing all the already provided tests will be laborious enough to be seen as actually showing the skillset reauired to solve this kata normally.

  • Custom User Avatar
    1. What do you mean by that?
    2. What it will help to achieve?
  • Custom User Avatar

    Yeah, of course. Totally forgot about it

  • Custom User Avatar

    Yeah, inheritance from list or array might be better, but it leads to the situation, when Vector have some functions, that looks wrong (i.e. append or pop in context of vector have no sense)

  • Custom User Avatar

    What about input restrictions? Solutions for small integers would be completely different from big ones.