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.
And here I am implementing PriorityQueue with HashMap XD
It's a pleasure to see so clean code! I learn a lot thanks to You. Thanks bro.
Good job! My answer was so messy xD
thank you :D
OMG, I love your solution! You're very patient
Gosh I feel dumb.
lol
Don't forget: Each declared variable needs space in memory (stack or heap). In this kata, you might use three different vars but in real life projects with millions of code and thousands of vars, that solution might be best practise (depends on your team and the concrete project / requirements).
Apparently the computer understands it better if the code is all on one line.
%60 instead of /3600 for seconds will work the same right?
This comment is hidden because it contains spoiler information about the solution
Short and clever, but (for me) it would've been easier to understand, if you got 3 different variables, for hours, minutes and seconds.
Short, concise and elegant.
This comment is hidden because it contains spoiler information about the solution
same here!
Loading more items...