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.
employ the simplest SELECT statement to see the restrictions, then use subquery
Orc doesn't start with an "e" or a "t". :P The problem is in your code.
Test 2
['dog', 'goose', 'orc'] should equal ['dog', 'goose']
Test 3
['dog', 'goose', 'elephant', 'tiger', 'orc'] should equal ['dog', 'goose', 'elephant', 'tiger']
what's the problem? works as expected in pycharm
This comment is hidden because it contains spoiler information about the solution
I'm not familiar with PHP, but I looked at the docs and the problem you seem to be having is that PHP
sort()
directly changes the array you're trying to sort, instead of returning it. It returnstrue
when the array has been sorted successfully andfalse
when the function has run into a problem and thus was not able to sort the array. Hope this helps. Reminder -- you can always google problems you have, and docs for specific languages are available online, too.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution