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.
Definitely needs an edit. It's goals scored vs goals conceded. It has nothing to do with shots taken. I'm assuming this is a "lost in translation" error.
Thank you for this. Your solution was easy to follow and, being new to Graphs, I appreciate the simplicity of your code.
One of the most enjoyable questions I've solved on Codewars. Nice question.
error by null
Agree with sigod. It feels too easy to be a 6.
from the Codingbat site ~
Copyright Nick Parlante 2017 - privacy
this challenge created ~ January 7 2016
o_O
Is stealing a question from another website and posting here allowed? It's the first warmup question on Codingbat.
Totally agree. I love the problem, but feel that it is rated too high.
Stop pulling your hair for this one, it seems at some point the test for null wasn't there (so this code passed the existing tests) and this isn't marked now as a not valid solution (it happens from time to time in CW, solutions not being revalidated).
I wrote exactly the same thing but they showed an error
How is this question a 7? I'd have ranked it an 8.
i even copied this code exactly :v
How comes your code is not throwing NullPointerException ?
NPE ?
What about null value. This will throw an exception : java.lang.NullPointerException
Loading more items...