• 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
dileader Avatar
Name:Unknown
Clan:Fast - it's slowly but consistently
Member Since:Jun 2018
Last Seen:Dec 2023
Profiles:
    Following:6
    Followers:10
    Allies:4
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (54)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • lawfets
      • commented on "How good are you really?" php solution
      • 4 months ago

      so, this is wrong. It's clearly explained in the info that your own points are not included in the array. And yet the above code works.

    • Custom User Avatar
      • Raumzeit
      • commented on "You only need one - Beginner" php solution
      • 6 months ago

      still works... with null values, too

    • Custom User Avatar
      • Vivien60
      • commented on "Array.diff" php solution
      • 8 months ago

      well, this is the best solution. The only thing is now we know kyu should be related to languages ! :)

    • Custom User Avatar
      • tury3001
      • commented on "Simple remove duplicates" php solution
      • 2 years ago

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

    • Custom User Avatar
      • farsyrob
      • commented on "You only need one - Beginner" php solution
      • 2 years ago

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

    • Custom User Avatar
      • Phpapi
      • commented on "How good are you really?" php solution
      • 2 years ago

      This is wrong. $yourPoint should be pushed to $classPoints in order to calculate correct average.

      Edit: Ok, not necessary to pass.

    • Custom User Avatar
      • ssulbaran
      • commented on "Array.diff" php solution
      • 2 years ago

      Technicaly, the requirement didnt say EXPLICITLY that we could not use built-in function so there is a gray area. So despite this aproach is not "handmade from scracth" is also valid acording the kata definition.

    • Custom User Avatar
      • faradey1984
      • commented on "How good are you really?" php solution
      • 3 years ago

      Your code doesn't pass test
      $this->assertEquals(true, betterThanAverage([2, 3], 3));

    • Custom User Avatar
      • Alegarse
      • commented on "How good are you really?" php solution
      • 3 years ago

      But you not included your points for the average.

      Edit:
      I see another comment that its the same :)

    • Custom User Avatar
      • shaparak631
      • commented on "Array.diff" php solution
      • 3 years ago

      I write my code in a complicated way because I didnt know simpler function.
      this is the benefit of practices, you learn what you dont know and it will be added to your experiences.

    • Custom User Avatar
      • serhii.chernenko
      • commented on "Deep comparison of objects" javascript solution
      • 3 years ago

      а чё всмысле

    • Custom User Avatar
      • archistico
      • commented on "Array.diff" php solution
      • 4 years ago

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

    • Custom User Avatar
      • FabianoLothor
      • commented on "Array.diff" php solution
      • 4 years ago

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

    • Custom User Avatar
      • 10diieggos
      • commented on "Array.diff" php solution
      • 4 years ago

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

    • Custom User Avatar
      • gregorip02
      • commented on "Array.diff" php solution
      • 4 years ago

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

    • Loading more items...
    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...