• 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
javiles91 Avatar
Name:Unknown
Clan:Unknown
Member Since:Apr 2021
Last Seen:Jun 2025
Profiles:
Following:5
Followers:3
Allies:3
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies (3)
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Chrono79
    • commented on "Next bigger number with the same digits" kata
    • 4 years ago

    Then you get the same result in your IDE and here, there is a problem with your code, because, you can see the next bigger number you can form with the digits of 144 is indeed 414.

    // expected -1    <- Your function returned this
    // to equal 414   <- This was the expected result            
    
  • Custom User Avatar
    • Chrono79
    • commented on "Next bigger number with the same digits" kata
    • 4 years ago

    Pretty sure you're misreading the logs, read this: https://docs.codewars.com/training/troubleshooting/#print-input

  • Custom User Avatar
    • Chrono79
    • commented on "Next bigger number with the same digits" kata
    • 4 years ago

    Print the input, what was it?

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...