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.
clean, clever and quite readable.
Just wondering what Big O notation in terms of space and time your solution would be.
I would guess that Big O notation in terms of time would be O(n*m), where n is size of input and m is size of markers.
About Big O notation in terms of size complexity it would be just O(1), constant as no variables are explicitly declared in function ? Can someone please correct me ?
When I see these answers I feel that I'm Stupid 😒😕😑😑😑😑