• 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
cdsa142 Avatar
Name:Unknown
Clan:Unknown
Member Since:Apr 2014
Last Seen:Oct 2018
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (37)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • jkimbell
      • commented on "Masquerade Waiting Line" kata
      • 7 months ago

      Sometimes the best problems are slightly annoying, in a way that requires you to think about them. This is a good example of that.

    • Custom User Avatar
      • ghnoob
      • created a suggestion for "Masquerade Waiting Line" kata
      • 7 months ago

      C# Translation

    • Custom User Avatar
      • JohanWiltink
      • resolved a suggestion on "Masquerade Waiting Line" kata
      • 7 months ago

      approved

    • Custom User Avatar
      • tobeannouncd
      • created a suggestion for "Masquerade Waiting Line" kata
      • 7 months ago

      Haskell translation

      I've updated the description to more clearly specify how to determine a potential friend.

    • Custom User Avatar
      • ejini战神
      • resolved a suggestion on "Masquerade Waiting Line" kata
      • 17 months ago

      Approved

    • Custom User Avatar
      • saudiGuy
      • created a suggestion for "Masquerade Waiting Line" kata
      • 17 months ago

      python new test framework is required. updated in this fork

    • Custom User Avatar
      • tolgaersoy
      • created a question for "Masquerade Waiting Line" kata
      • 2 years ago

      I am sorry.

      from description: "Your friend has told you that he will be wearing a RED mask, and has TWO other friends with him, both wearing BLUE masks."

      I did not understand when I looked to test cases. Can someone explain to me?

      [Blue , Red , Blue] 
      [Blue , Blue , Red]
      [Red , Blue , Blue]
      

      Which one is true? The kata is asking which is it?

      The description can be better.

      ['blue','blue','red','red','blue','green','chipmunk'] -> 1
      

      Why is the answer 1?
      Red's location is 2.

      'blue','blue','red'
      
    • Custom User Avatar
      • solomonhume
      • commented on "Masquerade Waiting Line" kata
      • 5 years ago

      The Kata is asking for the possible combinations of one red and two blues, but ONLY cares about the position of the red.

    • Custom User Avatar
      • cliffstamp
      • resolved a suggestion on "Masquerade Waiting Line" kata
      • 6 years ago

      tag added

    • Custom User Avatar
      • Blind4Basics
      • created a suggestion for "Masquerade Waiting Line" kata
      • 7 years ago

      there are still many possible interpretations of the task, as it currently is described. The very least would be to emphasise several well chosen examples in the description. Better (but maybe too much?), explain what "being with 2 friends" actually means.

      That, or add a puzzle tag to the kata (would make sense too).

    • Custom User Avatar
      • FArekkusu
      • commented on "Masquerade Waiting Line" kata
      • 7 years ago

      Bumping translation.

    • Custom User Avatar
      • FArekkusu
      • resolved a question on "Masquerade Waiting Line" kata
      • 7 years ago
      [B, R, B, B, R, B, R]
       ^^^^^^^                <-- 1
                ^^^^^^^       <-- 2
      
    • Custom User Avatar
      • tinuola
      • created a question for "Masquerade Waiting Line" kata
      • 7 years ago

      I'm finding two of the sample tests a bit confusing in how they seem to be calculating the possibilities differently.

      If ['red','blue','blue','red'] results in 2 possibilities, how is ['blue','red','blue','blue','red','blue','red'] resulting in 2 and not more possibilities?

      In the second array, I can form: "blue red blue", "red blue blue", "blue blue red", "blue red blue" ==> 4 possibilities.

      Isn't the Kata asking for the possible number of combinations of one red and two blues? Or is it that each combination has to be unique?

      Would appreciate some clarification.

    • Custom User Avatar
      • FArekkusu
      • created a suggestion for "Masquerade Waiting Line" kata
      • 7 years ago

      Python translation available. Please, review and approve.

    • Custom User Avatar
      • FArekkusu
      • resolved a suggestion on "Masquerade Waiting Line" kata
      • 7 years ago

      There're random tests now. Shuffling the fixed ones is not needless.

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

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...