Ad
  • Custom User Avatar

    Currently all the existing solutions are telling you that your tests are poor and this kata is probably a bad idea to begin with.

    Also:

    • setElement is not tested. In fact it's not even part of the priority_queue
    • Operation complexity is not tested at all, so even doing it with O(n^3) or worse can pass the test easily
  • Custom User Avatar

    Until you actually add specifications about the expected behaviours of the member functions of this PriorityQueue, we're all left to guesswork to solve the kata, which means your kata is incomplete and shouldn't even be published.

  • Default User Avatar

    This is not for long, something like a week after your comment. (And I wish it worked for replies too.)

  • Default User Avatar

    That is the worst idea in history , how thought this was funny ? he needs to be fired....

  • Custom User Avatar

    That's apparently how it works, yes. I guess they think once I'm interested in talking about a kata, I'm interested in all talk about it.

  • Default User Avatar

    so now everyone that comments here after me i get to read his message (that is just plain stupid)

  • Custom User Avatar

    Because you commented this kata before?

  • Default User Avatar

    why the hell did I get this message ?

  • Custom User Avatar

    Where did you get the copyright for that image?

  • Default User Avatar

    I am not good in C++ so I can't do this.. Maybe add ruby , python or javascript ?