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.
Here you are guaranteed to get the unique numbers only in the array.
Not sure which language you use but in JS it is not expecting an empty array.
This is the test:
This comment is hidden because it contains spoiler information about the solution
No, it's just the name he gave to his variable.
Hey, does the $ have any special meaning?
Sometimes you just make it work and then think of chaning the style :)
may be a stupid question of a JS beginner but - why there is 'i < data.length' instead of 'i < data.length - 7'?
The basic test does not work.....
Error:
./src/main/java/YourSolution.java:2: error: ',', ')', or '[' expected
public static int findOccurrence(String subStr, String str, int occurrence = 1) {
^
1 error
Hello russia
Java - change the class name and method name ffs
Because b is inclusive
I dont really get it - why there is "b+1 > s.length()" in if statement? Why "+1", not "b"?
hey, why arent you using 'f' and 'wm' indexes in 'goup by' and 'order by'?
yep, happend to me while ago :)
I made it kind the same but in your solution
this: (ab+c>max)
Is the same as this: ((ab)+c>max)
parenthesis make no difference here ;)