• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
aggronacho Avatar
Name:Unknown
Clan:Unknown
Member Since:Mar 2015
Last Seen:Sep 2023
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    Ad
    Educator, struggling to assess your students?
    Assess your classroom or bootcamp with the world leading assessment platform, Qualified.Request your demo today!
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (12)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • nick3499
      • commented on "first character that repeats" python solution
      • 3 years ago

      have you used timeit to compare the performance of your Counter() solution with this one? I personally believe that your solution could be 10X slower.

    • Custom User Avatar
      • Brolaf
      • commented on "first character that repeats" python solution
      • 4 years ago

      Time complexity is O(n^2), would not consider it as 'best practices' while there are more optimal solutions (e.g. see Counter).

    • Custom User Avatar
      • macadox
      • commented on "Prime number decompositions" kata
      • 5 years ago

      And I was wondering why my code was wrong....
      Thanks

    • Custom User Avatar
      • FArekkusu
      • resolved a question on "Float or Integer verifier" kata
      • 6 years ago

      Print the input.

    • Custom User Avatar
      • BartBee
      • commented on "first character that repeats" python solution
      • 7 years ago

      Unnecessary, but pythonic - Explicit is better than implicit. Many linters would flag this function if you left return None out (and rightly so)

    • Custom User Avatar
      • notnotmelon
      • commented on "first character that repeats" python solution
      • 7 years ago

      the last line is unnessary here

    • Custom User Avatar
      • gmtime
      • commented on "Prime number decompositions" kata
      • 9 years ago

      You should have the factors in the first array, and the number of each in the second
      So one 2 and one 5 are written as an array containin the 2 and 5, and a second array containing the number of them; one of each
      so it's [[2,5],[1,1]]

    • Custom User Avatar
      • liujinz
      • commented on "Prime number decompositions" kata
      • 10 years ago

      why?

    • Custom User Avatar
      • aggronacho
      • commented on "Mod4 Regex" python solution
      • 10 years ago

      I forgot the 8!, now match that expression.

    • Custom User Avatar
      • MMMAAANNN
      • commented on "Mod4 Regex" python solution
      • 10 years ago

      Wouldn't this fail '[8]' test?

    • Custom User Avatar
      • aggronacho
      • created a question for "Prime number decompositions" kata
      • 10 years ago

      When I submit the code, it test the number 10 and the prime factors for 10 are: 2 and 5 but it throw this error

      [[1, 5], [1, 2]] should equal [[2, 5], [1, 1]]

      I don't understand why

      EDIT: sorry, now I understand why

    • Custom User Avatar
      • aggronacho
      • created a question for "Float or Integer verifier" kata
      • 10 years ago

      Is there a way to show what numbers fail in the regex pattern?
      I tested my regex and 74 expression passed but 8 expression failed, I would like to know what numbers didn't pass the regex. I tested the regex and seems to look ok.

    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...