Ad
  • Custom User Avatar

    Now it passed 2 months since I solved this kata. I find quite good book "Beyond the Basic Stuff with Python - Al Sweigart" and I learned about "Big O" analysis and now I know cProfile.run() function also. Anyway great thanks once again.

  • Custom User Avatar

    Crazy kata indeed 😡 I also tried and failed - so far.

  • Custom User Avatar

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

  • Custom User Avatar

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

  • Custom User Avatar

    Love this kata pure work to do, many things to learn and no so crazy puzzle like in many other katas πŸ‘ πŸ‘πŸ‘πŸ‘ (Python)

  • Custom User Avatar

    Hellow everyone,
    (Python) one fast question "op" argument from def compute_ranges(arr, op, rs): takes only two arguments as op(a, b). Question: how to forse this "op" to swollow list with more than two arguments??? 🀨

  • Custom User Avatar

    Great thanks for answer so I will have to switch from iterto... to something else. New things to learn πŸ˜„

  • Custom User Avatar

    Hello everyone,
    could some one be so kind and tell me how fast the solution should be to solve it in the test? My code go through 2522ms in the test with all tests passed and unfortunatelly is to slow to solve "attempt" section. I wonder how many times I should improve code effectivenss?

  • Custom User Avatar

    My oversight. Thanks

  • Custom User Avatar

    I see one sirious problem here (in Python) - the lists in the tests should be sorted!!!! I get the result - whish corresond to the songs list but it is wrongly sorted in comparison to the tests. No sorting helps here or I do not know the proper songs sorting method.

    🌀🌀 (My resolt you can see below and below below you can see the exmple answer from tests)
    +--------------------------------+------+--------------+
    | Name | Time | Artist |
    +--------------------------------+------+--------------+
    | Stoned Again | 3:25 | King Krule |
    | Serenade | 3:00 | Travis Scott |
    | I Always Wanna Die (Sometimes) | 5:15 | The 1975 |
    | Stick Talk | 2:54 | Future |
    | Nightcrawler | 5:22 | Travis Scott |
    +--------------------------------+------+--------------+
    [('Stoned Again', '3:25', 'King Krule'), ('Serenade', '3:00', 'Travis Scott'), ('I Always Wanna Die (Sometimes)', '5:15', 'The 1975'), ('Stick Talk', '2:54', 'Future'), ('Nightcrawler', '5:22', 'Travis Scott')]

    Answer from the test below:
    +--------------------------------+------+--------------+
    | Name | Time | Artist |
    +--------------------------------+------+--------------+
    | Stick Talk | 2:54 | Future |
    | Stoned Again | 3:25 | King Krule |
    | I Always Wanna Die (Sometimes) | 5:15 | The 1975 |
    | Nightcrawler | 5:22 | Travis Scott |
    | Serenade | 3:00 | Travis Scott |
    +--------------------------------+------+--------------+

    Like for me great Kata but please add in test some sorted lists.

  • Custom User Avatar

    🦧🐾🐾🐾