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.
It already does!
"If no temperatures have been inserted yet, the get functions should return null objects."
This comment is hidden because it contains spoiler information about the solution
Thanks! Great idea - I made it really clear that the get functions should take O(1) time.
Great, thanks for the feedback. I made the description more explicit.
Hmm, I can't replicate this. Can you please post your entire solution?
It's not a problem with timing since you're getting that error message.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Hmm, this sounds pretty bad. Good thing you caught this. What language are you using?
Also, can you reply with your
get_mode()
function? Marked as being a spoiler, or course :)This comment is hidden because it contains spoiler information about the solution
Awesome, thanks for this feedback @taw and @nedsociety. I'll change the test so it gives a helpful error message instead of relying on the default timeout. I can definitely see how it would be less frustrating.
Do you mean stress testing in general is lame, or that the way I implemented it for this challenge is lame? Do you have a suggestion for how to improve?
Done!
In the description I wrote "If there is more than one mode, return any of the modes." My intention here was that users would always just return a single integer. Do you think there's a better way to handle this?
Awesome, good catch. @wthit56 had the idea to stress test it instead. I'll remove this.
Great, I will:
Thanks for the feedback!
Loading more items...