5 kyu

Dating with hypergamy

19 of 85balygaby
Description
Loading description...
Algorithms
View
AllIssues5QuestionsSuggestions1Show Resolved
  • Please sign in or sign up to leave a comment.
  • it1shka Avatar

    the desc is awesome

  • lonkaan Avatar

    Half of the time spent was on understanding the description. I do not propose any suggestion to improve it because sometimes trying to figure out a little bit of unknown in this website was something we appreciated.

  • Voile Avatar

    Because women are hypergamous, they never settle for a man who's not at least 2 levels above their own, unless he's an 8 or above (but even then, the first rule applies)

    This sentence is confusing. What does it mean by "never settle for a man who's not at least 2 levels above their own"? There are no dating orders mentioned at all in the kata. Plus there is this sentence as well:

    Both women and men try to get the best looking date(s) they can get

    Then every woman would just choose the man with the highest number, and the sentence cited above becomes pointless. This part needs clarification.

  • xRoZ Avatar

    Redpilled kata

  • JohanWiltink Avatar
  • JohanWiltink Avatar

    ( JS )

    The reference solution is a mess of undeclared variables and changes its inputs. User can also modify inputs.

  • u_madara Avatar

    Wtf?!😂😂😂

  • HugoDerre Avatar

    Very fun kata, makes me laugh

  • EKrionasLamprou Avatar

    I think there's a problem with the random tests in JavaScript. Only the random tests are wrong, as they present the array I'm returning in reverse order, even though I am sorting it and it's correct in the other tests.

  • Welpy Avatar

    Approved.

  • rge123 Avatar
    Traceback (most recent call last):
      File "/workspace/default/src/codewars-test/codewars_test/test_framework.py", line 111, in wrapper
        func()
      File "tests.py", line 166, in Random_just_uglies
        test.assert_equals(guys_alone_from_group(men,women), sol)
    NameError: name 'guys_alone_from_group' is not defined
    
  • user9644768 Avatar

    Python: