• 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
Tassle Avatar
Name:Unknown
Clan:Unknown
Member Since:Jan 2019
Last Seen:Apr 2020
Profiles:
    Following:0
    Followers:0
    Allies:0
    View Profile Badges
    Ad
    Would You Pass the Google SQL Interview? Test Yourself with These 7 Concepts
    Study up for your next SQL interview with these interview questions.
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (9)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Unnamed
      • created an issue for "Passing through jugglers" kata
      • 5 years ago

      https://www.codewars.com/kata/reviews/5db0c65918d8df0001818183/groups/5dc8b4ab2d55c30001fe5a96
      This solution sometimes fails at the "tiny" random tests. A corresponding fixed test should be added.

    • Custom User Avatar
      • Voile
      • resolved an issue on "Passing through jugglers" kata
      • 5 years ago

      Fixed

    • Custom User Avatar
      • Voile
      • resolved an issue on "Passing through jugglers" kata
      • 5 years ago

      Fixed

    • Custom User Avatar
      • Voile
      • created an issue for "Passing through jugglers" kata
      • 5 years ago

      The actual tests doesn't seed the RNG with current time so the test cases are actually deterministic.

    • Custom User Avatar
      • Voile
      • created an issue for "Passing through jugglers" kata
      • 5 years ago

      using namespace std; is still required in sample tests.

    • Custom User Avatar
      • Tassle
      • resolved an issue on "Passing through jugglers" kata
      • 6 years ago

      Thanks!

    • Custom User Avatar
      • Tassle
      • resolved an issue on "Passing through jugglers" kata
      • 6 years ago

      Thanks for the feedback, this is my first Kata and I must admit that I don't quite know how this testing stuff really works ^^

    • Custom User Avatar
      • ZED.CWT
      • created an issue for "Passing through jugglers" kata
      • 6 years ago
      Assert::That(getMinBalls(J), Equals(getMinBallsAuthor(J)));
      

      Inputs are vulnerable to user functions
      Should calculate expected result before sending to user functions

      auto expected = getMinBallsAuthor(J);
      Assert::That(getMinBalls(J), Equals(expected));
      
    • Custom User Avatar
      • ZED.CWT
      • created an issue for "Passing through jugglers" kata
      • 6 years ago
      main.cpp:53:9: error: use of undeclared identifier 'queue'
              queue<int> q({s});
              ^
      main.cpp:53:18: error: expected '(' for function-style cast or type construction
              queue<int> q({s});
                    ~~~^
      main.cpp:53:20: error: use of undeclared identifier 'q'
              queue<int> q({s});
                         ^
      main.cpp:55:16: error: use of undeclared identifier 'q'
              while(!q.empty()){
                     ^
      main.cpp:56:21: error: use of undeclared identifier 'q'
                  int u = q.front(); q.pop();
                          ^
      main.cpp:56:32: error: use of undeclared identifier 'q'
                  int u = q.front(); q.pop();
                                     ^
      main.cpp:61:21: error: use of undeclared identifier 'q'
                          q.push(e.to);
                          ^
      7 errors generated.
      

      Dont relay on includes by user code
      This should be also put in the test part

      #include<vector>
      #include<queue>
      using namespace std;
      
    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...