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.
You add an element in the output only if there is lesser occurencies of the same element than
max_e
before current index.So as long as you haven't encouter
max_e
occurencies, they are added to the output.Once you have found
max_e
occurencies, they are rejected.Hey please NatiAris or Yiel can someone explain me this list comprehension... Thanks