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.
For some reason the results don't always have a sales department with more then 98.
That is written in the question at the end. On your 98.00 attempt you just had bad luck.
you can use
which will be false if
haystack[i]
is null, instead of throwing a NullPointerExceptionfinal return is so funny!
Take care with this one. You should use .equals("needle"). And when u change it, it will throw nullPointer, 'cause you're not validating nulls in the array.
HAHAH!!!! "needle be lost, yo" just sent me lmao
Is using "group by" for the subquery a good practice ?
using star is not a best practice. just saying.
This comment is hidden because it contains spoiler information about the solution
Haha love the final return!
select all not best practice, better to select all columns.
Tried it similar to this but wanted to use ".equals". The problem was, that it "equals" also with boolean and null within the string when it tests. Any clue how to avoid this?
This comment is hidden because it contains spoiler information about the solution
That's true, i did that xD