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.
Op solved it closing ~~
when executed assertEquals(Groups.groupCheck("({"), false); output gives expected: but was:...how??
n%n
is always 0 ;-)i worte the same code but i used if(n==0||n%n==0) return 0; i was not getting output any idea why
This comment is hidden because it contains spoiler information about the solution
Great!
Yes I could. Thanks!
Does it work now?
thanks...
Check for null before...
As first call in the method.
i changed the poisition of line and i got.but how to handle null pointer exception???
numbers.length
can be zero, so you can't create an array likenew double[numbers.length-1]
becausenumbers.length-1
may be negative.This comment is hidden because it contains spoiler information about the solution
Could you finish the kata now?
What is the text of the error?
And please paste your code here (mark as spoiler!).
Loading more items...