• 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
zed9h Avatar
Name:Carlo Caputo
Clan:mathematicals
Member Since:Sep 2015
Last Seen:Oct 2024
Profiles:
Following:12
Followers:17
Allies:12
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (26)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • bineapple
    • commented on "Next bigger number with the same digits" python solution
    • 2 years ago

    Same idea with me!

  • Custom User Avatar
    • rsschool_906b1078a9d13902
    • commented on "Next bigger number with the same digits" python solution
    • 2 years ago

    nice

  • Custom User Avatar
    • jinks908
    • commented on "Next bigger number with the same digits" python solution
    • 2 years ago

    I can only speak for myself, but I had originally used itertools.permutation() to split the given number into an array of all of its permutations and then sort through to find the lowest number greater than the original. This worked for the test cases but not when I actually attempted since really large numbers timeout as this algorithm is super inefficient.

    So I changed the whole gameplan and simply forgot to change the 'import itertools' line at the top.

  • Custom User Avatar
    • MrClon
    • commented on "Next bigger number with the same digits" python solution
    • 3 years ago

    Someone forget remove unused import, other copy-paste

  • Custom User Avatar
    • ben2003
    • commented on "Next bigger number with the same digits" python solution
    • 3 years ago

    They may trying to use the function(s) in the module itertools but the failed or find out that they don't need it.
    And that's why they leave the code 'import itertools' undeleted.

    But I am a dumbass so I will use itertools.permutations to solve it.

  • Custom User Avatar
    • MCStello
    • commented on "Next bigger number with the same digits" python solution
    • 3 years ago

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

  • Custom User Avatar
    • user3663048
    • commented on "Next bigger number with the same digits" python solution
    • 4 years ago

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

  • Custom User Avatar
    • Infuzibil
    • commented on "Next bigger number with the same digits" python solution
    • 4 years ago

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

  • Custom User Avatar
    • Weifeng Wang
    • commented on "Next bigger number with the same digits" python solution
    • 4 years ago

    elegant and clean

  • Custom User Avatar
    • YazonDA
    • commented on "Next bigger number with the same digits" python solution
    • 6 years ago

    but for a long time I tried to understand why this )))
    I`m innocent ))

  • Custom User Avatar
    • michael_angelo
    • commented on "Next bigger number with the same digits" python solution
    • 6 years ago

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

  • Custom User Avatar
    • yoyotars
    • commented on "Next bigger number with the same digits" python solution
    • 7 years ago

    :)

  • Custom User Avatar
    • ilinovster
    • commented on "Next bigger number with the same digits" python solution
    • 7 years ago

    There no needs of itertools. I have forgot to delete this line.

  • Custom User Avatar
    • yoyotars
    • commented on "Next bigger number with the same digits" python solution
    • 7 years ago

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

  • Custom User Avatar
    • Voile
    • created an issue for "Imperfect Network #3 (missing messages)" kata
    • 7 years ago

    There is nothing stopping a solution from sharing states externally:

    https://www.codewars.com/kata/reviews/55fb9664568d9cf1a900001c/groups/5bbb03fbb684d31c75000451

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...