• 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 (12)
    • Replies
    • 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
      • ejini战神
      • resolved a suggestion on "N-th Power" kata
      • 5 years ago

      'alr approved by some1'

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

      Sorry, misunderstood. thanks for the explanation

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

      It's correct. 2 ^ 3 = 8.

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

      Java's basic test is incorrect

          assertEquals(8, Kata.nthPower(new int[] {3,1,2,2}, 3));
      
    • Custom User Avatar
      • iswaryad
      • commented on "Coefficients of the Quadratic Equation" kata
      • 5 years ago

      Not well explained Kata, as a programmer I was expecting to solve a logic, not a mathematical problem

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

      yes, i did use len()

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

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

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

      In python, plenty of tests are failing because the expected and actual are reversed. Hence I couldn't submit my solution

      Sample:
      ['RQWk', 'htGD', 'epmV', 'lIzS', 'cDYv', 'zWVg'] should equal ['0BLO', 'RQWk', 'Ee3S', 'htGD', 'epmV', 'lIzS', 'p9kz', 'cDYv', 'zWVg']
      ['DBAa', 'NVoa', 'nXfZ'] should equal ['O9wR', 'DBAa', 'NVoa', 'Wh6n', 'Ju8G', 'nXfZ', '1PXt']

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...