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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The description says
Sunday -> 0b0100000
.But that Saturday, right?
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Because it's a best practice, see the C++ Core Guidelines.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
A-well-a everybody's heard about the bird!
B-Bird bird bird, bird is the word
:-)
re.match()
looks at the beginning of the string (see doc).re.search()
looks anywhere in the string (see doc).No need to apologize, you're correct.
If there are are more than 10 projects but fewer than 3 unpopular projects the result will be too short.
Therefore this solution is not correct.
As for that second point: Yes, that's on purpose. If there are 10 or fewer projects the result must contain all of them.
I just got "lucky" that this covers the test case without unpopular projects.
Loading more items...