Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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 thepriority_queue
O(n^3)
or worse can pass the test easilyUntil 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.This is not for long, something like a week after your comment. (And I wish it worked for replies too.)
That is the worst idea in history , how thought this was funny ? he needs to be fired....
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.
so now everyone that comments here after me i get to read his message (that is just plain stupid)
Because you commented this kata before?
why the hell did I get this message ?
Where did you get the copyright for that image?
I am not good in C++ so I can't do this.. Maybe add ruby , python or javascript ?