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.
yeap, my bad, thx fro your time
There are tests errs or did i miss something ?
in one of the test given speech is: "ow v **** u oqy t. sopq. qro, qx", it's length //53
is expected in test 'qow qqqovq ooqqu ooqqu oqqqy ptqqq. sqopq. qropoo, qpx', it's length //54
3d word from 4 symbols (*) grows to 5 (ooqqu)
???
More then it:
given: "*** u**** t**** **s **rh?".length // 27
'uiiih uiiih thigh gghs hirih?'.length // 29
etc.
больше похоже на n^2
i got it, my bad...
thx for your time
so ?
in my example all are equal except for one(3), if i didn't get it right, explain me pls
findUniq([1,1,2,2,3,4,4])
Expected: 3
instead got: 4
Still doesn't work!
This algorithm couldn't work, it just sorting(arr wasn't change at all) and takes first or last item(arr is still same, just sorted), hello
findUniq([1,1,2,2,3,4,4])
Expected: 3
instead got: 4
Still doesn't work!
This algorithm couldn't work, it just sorting and takes first or last item, he did nothing to solve duplicates, hello