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
This comment is hidden because it contains spoiler information about the solution
Ah interesting I had no idea that existed
Not at all! The author didnt say he wanted modularity, he just wants it to work! (assuming our max value is less than 2,147,483,647 of course.
This comment is hidden because it contains spoiler information about the solution
I had the same problem. I was getting NumberFormatExceptions because I was trying to parse an integer that was greater than the integer max value. My advice to anyone with this issue: Try refactoring your code to use strings instead of integers where possible (any more of a hint would spoil the answer.)
I love the rube goldberg admissions.
Both commenters before me are fools. This is the most premium way of programming. I would hire this person over the others anyday.
So simple! I didn't even think of using regex. This site really gets me thinking outside the box.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Everytime I think I have an elegant solution, someone comes along with a simple return statement. Excellent inginuity!
This comment is hidden because it contains spoiler information about the solution
I had a very similar solution, though yours looks a bit more memory effective than mine. This fails case-sensitivity though ;) (even if it wasnt a rule.)
Loading more items...