• 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
iswaryad Avatar
Name:Iswarya D
Clan:Unknown
Skills:java, python
Member Since:May 2016
Last Seen:Mar 2022
Profiles:
    Following:2
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations
    • Replies (6)
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Francua Pegeoun
      • commented on "N-th Power" kata
      • 5 years ago

      Oh, now I totaly misunderstood the task! Thanks!

    • Custom User Avatar
      • B1ts
      • commented on "N-th Power" kata
      • 5 years ago

      Where are you getting array length from? It's 2, because 2 is the 3rd index of input array (2nd argument).

    • Custom User Avatar
      • Francua Pegeoun
      • commented on "N-th Power" kata
      • 5 years ago

      But how do we actually get 2 in this situation? The array length is counting as 4, not 3.

    • Custom User Avatar
      • Chrono79
      • commented on "Friend or Foe?" kata
      • 5 years ago

      actual and expected aren't reversed, your code filters strings with numbers in it, and the control function isn't doing that.

    • Custom User Avatar
      • B1ts
      • commented on "N-th Power" kata
      • 5 years ago

      It's correct. 2 ^ 3 = 8.

    • Custom User Avatar
      • inline_five
      • commented on "Friend or Foe?" kata
      • 5 years ago

      Worked fine on my end. Are you filtering by len()?

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...