• 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
FireITHole Avatar
Name:Antoine
Clan:Unknown
Member Since:May 2023
Last Seen:Apr 2025
Profiles:
Following:1
Followers:1
Allies:1
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (35)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • ahmet_popaj
    • commented on "Dividers of primes" kata
    • 11 months ago

    Nice kata, it shares some similarities with other ones like using a mathematical approach rather than something else.

  • Custom User Avatar
    • timleungtech
    • commented on "Dividers of primes" kata
    • 2 years ago

    More simply, return all factors of x in a sorted array from lowest to highest.

  • Custom User Avatar
    • JohanWiltink
    • created a suggestion for "Dividers of primes" kata
    • 2 years ago

    Missing a test assert.deepEqual( getDividers([127],[7]), [ 1, 127, 16129, 2048383, 260144641, 33038369407, 4195872914689, 532875860165503 ] );.

    It's not often I propose performance tests, but allowing solutions to find factors by enumerating up to the given number that is passed in prefactored is ridiculous. ( And people vote it Best Practice, and that just galls me. )

  • Custom User Avatar
    • JohanWiltink
    • created an issue for "Dividers of primes" kata
    • 2 years ago

    ( JS )

    Random tests are vulnerable to input modification

  • Custom User Avatar
    • FireITHole
    • commented on "Dividers of primes" kata
    • 2 years ago

    thank you sm!

  • Custom User Avatar
    • todd1744
    • commented on "Dividers of primes" kata
    • 2 years ago

    love this kata thank you very much. made my day

  • Custom User Avatar
    • FireITHole
    • commented on "Cat years, Dog years" python solution
    • 2 years ago

    Couldn't be any clearer :) I'll try that next time!!

  • Custom User Avatar
    • FireITHole
    • commented on "Aggregate hours" kata
    • 2 years ago

    Thanks for your contribution, but this Kata seems to be a duplicate of this one and will be deleted soon I guess.

  • Custom User Avatar
    • mauro-1
    • created an issue for "Aggregate hours" kata
    • 2 years ago

    The list will always be in ascending order,

    In random test there are unsorted lists, lists with duplicates, ...

    A random sorted list without duplicates can be generated with

    from random import randrange, sample
    
    def random_hours_list():
        length = randrange(2, 24)
        return sorted(sample(range(24), k=length))
    
  • Custom User Avatar
    • Voile
    • commented on "Aggregate hours" kata
    • 2 years ago

    A kata can't be deleted if it has been attempted/solved by someone else. You can still unpublish it though.

  • Custom User Avatar
    • FireITHole
    • commented on "Aggregate hours" kata
    • 2 years ago

    Alright I understand! I can't seem to delete this Kata myself for the moment tho, I'll try later or let someone delete it manually :)

  • Custom User Avatar
    • FireITHole
    • commented on "Dividers of primes" kata
    • 2 years ago

    Thank you! :)

  • Custom User Avatar
    • 4500zenja1
    • commented on "Dividers of primes" kata
    • 2 years ago

    This kata seems to be fine, I guess, so I can assign a rank for it and get it out from beta:

    • 6 kyu — 9;
    • 7 kyu — 3

    Therefore, this kata is approved with 6 kyu rank, congrats :)

  • Custom User Avatar
    • FireITHole
    • resolved an issue on "Aggregate hours" kata
    • 2 years ago

    I guess it's in a way that it's more fun! (I hope so) And with different ways to process the data!

  • Custom User Avatar
    • FireITHole
    • resolved an issue on "Aggregate hours" kata
    • 2 years ago

    Thanks for your contribution once again! Random tests yet again haha

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...