Ad
  • Custom User Avatar

    Ruby 3.0 should be enabled.

  • Custom User Avatar
    • not enough tests
    • in python, the name convention is snake_case for the functions, not CamelCase
  • Custom User Avatar

    Given the range of the values of the first 10-20 terms there is only 10 numbers of so among the int range, so it's not even interesting enough. You can pretty much just hardcode the values.

    Even long is not very enough either (it grows at least exponentially), so the only place where it's appropriate is in a language that has arbitrary sized integers, which C++ doesn't have.

  • Custom User Avatar

    Needs Random Tests.

  • Custom User Avatar
    1. The description says to return 'No solution' in case the discriminant is negative, but the test cases require that we write 'No real solution'.
    2. There should be a way to validate answers from the list regardless of their order: returning [2, -2] instead of [-2, 2] shouldn't be a mismatch.
  • Custom User Avatar

    Duplicate of many existing katas.

    Also needs random tests.

  • Custom User Avatar

    the description is inconsistent with the task (No solution -> that's wrong) and the choice of the returned format is porrly made (between int/list of int: that's not coherent. On this last point, this is rather a comment than anything else. The issue is "on the other side")