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 anyone wondering it's called Arithmetic progression.
First line calculates the number (n) of terms in AP, third line is formula for the sum of first (n) members of the AP
Negative lookahead makes complexity of this regex O(N^2). For long sentences it's the slowest solution there
I forgot that Go primitives are not nullable😅
So there are only two possible values for bool