Ad
  • Custom User Avatar

    Nice one.
    It took me 3 days to solve this one and i came up with 78 lines of code and then i get here and see it solved in 3 lines :))
    Still feeling proud to have solved it :)

  • Custom User Avatar

    very nice. makes total sense. the top solution is just a shorter/better/more compact version of my solution. while this one is obviously faster.

  • Custom User Avatar

    The solution seems simpler and i was wondering why it isn't voted as a best practice. Your comment made light. Thank you.
    Sorting increases execution time. Even for a 7 element array.

  • Custom User Avatar

    This is beautiful. Although @brunomueller has a point. However most solutions use the harcoded 26

  • Custom User Avatar

    Hey guys!

    Just wondering, this solution comes from experience, right? Or did you just search the available methods until you found the right ones?

    When attempting to solve a challenge should i always try and find methods(without google) that seem to do what i need and try them out or to use what i already know?

    Thank you.