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.
Since you enjoy sequences, here's a puzzle for you: Can you figure out the next values in this sequence and what they represent?
[-1, -1, -1, -1, ...]
Bonus question: does the accumulated sum of this sequence diverge towards "negative infinity"?As in "it smells really funky"?
After realizing the assignment makes no sense as given, I had not zero but "negative infinity" motivation to try to divine what the clown who formulated it meant.
Unless completelly rewritten, it should be given as a prime example of how not to write a Kata.
The words before some absurd graph (as in mapping input to output) should actually make sense. It would be better to word it "given such sequence of input/output mappings, divine an algorithm that will pass some BS tests".
the condition that has an effect is only greater than 0, if there is something wrong in the random test
This is a funny Kata :) LOL
https://www.postgresql.org/docs/13/functions-matching.html#POSIX-MATCHING-RULES