• 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
hamurai Avatar
Name:Andrew Evans
Clan:ClearDATA
Member Since:Aug 2017
Last Seen:Nov 2021
Profiles:
Following:32
Followers:32
Allies:31
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored
  • Needs Resolution (4)
  • Custom User Avatar
    • FArekkusu
    • created an issue for "A1 Thick and Hearty" kata
    • 5 years ago

    The issue described below is still present.

  • Custom User Avatar
    • Voile
    • created an issue for "Average Step" kata
    • 8 years ago

    This is not new at all. Finding average has been done many times, this is literally just adding a "take every nth element" which has also been done.

    i.e This is duplicate of these two katas combined:

    https://www.codewars.com/kata/every-nth-array-element-basic
    https://www.codewars.com/kata/calculate-average

  • Custom User Avatar
    • Voile
    • created an issue for "Average Step" kata
    • 8 years ago

    Even if the array elements are integers, because the final result is a float comparing equality directly will break because of floating point errors.

    For example, if someone adds up the integers after dividing by the length, the result will be different.

  • Custom User Avatar
    • Voile
    • created an issue for "Average Step" kata
    • 8 years ago

    Random tests are vulnerable to input modification.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...