• 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
cosenocs Avatar
Name:cosenocs
Clan:Unknown
Member Since:Mar 2019
Last Seen:Oct 2023
Profiles:
Following:0
Followers:0
Allies:0
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (4)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • cosenocs
    • commented on "Find the smallest integer in the array" php solution
    • 2 years ago

    And you're starting with $arr[0], so in your loop you can skip first element by starting to count from $i = 1.

  • Custom User Avatar
    • cosenocs
    • commented on "Find the smallest integer in the array" php solution
    • 2 years ago

    You don't have to check for equality here. Just checking if current number is less than min is enough.

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

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

  • Custom User Avatar
    • cosenocs
    • commented on "Number of People in the Bus" php solution
    • 2 years ago

    This is the best solution I've seen so far.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...