• 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
adaoub Avatar
Name:Abdullah Daoub
Clan:Unknown
Member Since:Jul 2022
Last Seen:Jun 2025
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
    • Noksion
    • commented on "Find the smallest power higher than a given a value" kata
    • 3 years ago

    Hard to judge now as I alrady solved it by the time I updated the comment.
    Anyways, thanks for the response.

  • Custom User Avatar
    • Noksion
    • commented on "Find the smallest power higher than a given a value" kata
    • 3 years ago

    Which language?

  • Custom User Avatar
    • NickWeisz
    • commented on "Find the smallest power higher than a given a value" kata
    • 3 years ago

    Is it ok already? I can't solve it. All tests are fine except "Already perfect numbers". I am stuck pls help

  • Custom User Avatar
    • Chrono79
    • resolved an issue on "Find the smallest power higher than a given a value" kata
    • 3 years ago

    I'll mark it as resolved.

  • Custom User Avatar
    • Chrono79
    • commented on "Find the smallest power higher than a given a value" kata
    • 3 years ago

    Let's see the first sentence:

    We have the number 12385. We want to know the value of the closest cube but higher than 12385. The answer will be 13824.

    value there is 12385 and pow_ is 3, the answer is 13824 that's 243

    Does that help?

  • Custom User Avatar
    • Noksion
    • commented on "Find the smallest power higher than a given a value" kata
    • 3 years ago

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

  • Custom User Avatar
    • Chrono79
    • commented on "Find the smallest power higher than a given a value" kata
    • 3 years ago

    Fork with almost all that fixed: https://www.codewars.com/kumite/62f64c2f2a9bef00525d621b?sel=62f64c2f2a9bef00525d621b

    But, I left pow_ as it is, just to not create a code block in the description and keep the argument's name the same for every language. In javascript pow isn't a reserved keyword.

    BTW: the random tests compared the result of the control function to itself. So this invalid solution worked: https://www.codewars.com/kata/reviews/56bb271b6ee8d209be000054/groups/62f668c5094ade0001c080da

  • Custom User Avatar
    • Chrono79
    • commented on "Find the smallest power higher than a given a value" kata
    • 3 years ago

    Check the control function doesn't fail those tests, at least javascript one used ceil.

  • Custom User Avatar
    • akar-0
    • commented on "Find the smallest power higher than a given a value" kata
    • 3 years ago

    This code is not correct. Random tests are incomplete in several languages, that's why your solution can pass them. This is related to the issue opened just below.

  • Custom User Avatar
    • adaoub
    • commented on "Find the smallest power higher than a given a value" kata
    • 3 years ago

    Thanks for the reply. Sorry I am new to all of this!

    i tried other peoples solutions and that last test seems to pass which makes me think it's a problem with my code? Or is it definitely a bug in the kata?

  • Custom User Avatar
    • akar-0
    • resolved an issue on "Find the smallest power higher than a given a value" kata
    • 3 years ago

    This is not an issue (= a bug in the kata).

  • Custom User Avatar
    • adaoub
    • created an issue for "Find the smallest power higher than a given a value" kata
    • 3 years ago

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

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...