• 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
tfKamran Avatar
Name:Kamran Ahmed Ansari
Clan:team.fluxion
Skills:android, java, javascript, html, css, php
Member Since:Jun 2014
Last Seen:Aug 2021
Profiles:
Following:5
Followers:18
Allies:4
View Profile Badges
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations
  • Replies
  • Authored
  • Needs Resolution (18)
  • Custom User Avatar
    • FranzMartyn
    • created a suggestion for "Counting sheep..." kata
    • last month

    Groovy Translation

  • Custom User Avatar
    • PetitLu117
    • created a suggestion for "Counting sheep..." kata
    • 4 months ago

    Lua translation making the description language agnostic

  • Custom User Avatar
    • konstell
    • created a suggestion for "Counting sheep..." kata
    • 2 years ago

    Maybe the return type of the function should be usize instead of u8

  • Custom User Avatar
    • Sabujdeep
    • created a question for "Counting sheep..." kata
    • 2 years ago

    Cannot invoke "java.lang.Boolean.booleanValue()" because "[]" is null
    how can i resolve this?!

  • Custom User Avatar
    • Kifrie
    • created a question for "Counting sheep..." kata
    • 3 years ago

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

  • Custom User Avatar
    • SerhioGavrilini
    • created a question for "Counting sheep..." kata
    • 3 years ago

    I dont understand where we have the error? Its only a boolean array.
    Where we get NullPointerException?
    Thanks

  • Custom User Avatar
    • Kvili
    • created an issue for "Counting sheep..." kata
    • 3 years ago

    The plural of sheep is sheep, not sheeps.

  • Custom User Avatar
    • ejini战神
    • created an issue for "Something 's fishy..." kata
    • 4 years ago
    • Node 12 should be enabled (Refer this and this for more info)
  • Custom User Avatar
    • ejini战神
    • created an issue for "Remove method in Arrays" kata
    • 4 years ago
    • The initial solution setup is missing the function keyword

    • Node 12 should be enabled (Refer this and this for more info)

  • Custom User Avatar
    • SerBro42
    • created a suggestion for "Counting sheep..." kata
    • 4 years ago

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

  • Custom User Avatar
    • ejini战神
    • created an issue for "Counting sheep..." kata
    • 4 years ago

    Ruby should use camel_case

  • Custom User Avatar
    • Unnamed
    • created an issue for "Counting sheep..." kata
    • 5 years ago

    Racket example in the description:

    (count-sheeps '(#t #t #t #f #t #t 1
                    #t #f #f #f #f #f #f
                    #t #f #t #t #t #t #t
                    #t #t #f #t #t #t 5))
    

    Why does it have some these 1 and 5? Well, maybe because it isn't specified what values input can contain. Most languages seem to have only true/false/null-nil-undefined-... So the input domain should be specified and consistent across languages.

  • Custom User Avatar
    • Souzooka
    • created a suggestion for "Counting sheep..." kata
    • 7 years ago

    I've created a NASM translation for this Kata.

  • Custom User Avatar
    • Voile
    • created an issue for "Counting sheep..." kata
    • 7 years ago

    All language versions should be updated with random tests.

  • Custom User Avatar
    • jmkv
    • created a suggestion for "Counting sheep..." kata
    • 7 years ago

    This line in the description is confusing:
    "Don't forget to check for bad values like null/undefined"
    I didn't understood what shoud be returned in that case.

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

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...