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.
unique_in_order('AAAABBBCCDAABBB') == ['A', 'B', 'C', 'D', 'A', 'B']
You're not understanding what to do.
Please write in english and stop raising bogus issues. See https://docs.codewars.com/training/troubleshooting#post-discourse.
Em alguns casos devem retornar elementos repetidos, mas na inatrução fala que edeve retornar a lista sem elementos repetidos
This comment is hidden because it contains spoiler information about the solution
I see, thanks!
Python test updated, Random test added.
issue 6 years old, author incactive, 322 warriors solved it, translated to other 2 languages, I am presuming, based on these fact, that description is ok. I am closing this issue, as it is stopping kata with 88% rate from further progress in beta process. If anyone disagree, please do suggestion or fork with better description.
Python test updated, Random test added.
OP solved it, closing
Your original code fails for cases where first and last element being the same such as: "ABBCcA"
Your original code fails for cases where first and last element being the same such as:
"ABBCcA"
Though, OP solved it by copying the solution above...
Also, OP's code is retrieving unique values from the list, which is not the requirement of task.
Though OP solved it, closing
Description states:
Your code fails for cases like
[1, 2, 3, 1]
. The expected result is[1, 2, 3, 1]
, but your code outputs[1, 2, 3]
.Description states:
Your code fails for cases like
[1, 2, 3, 1]
. The expected result is[1, 2, 3, 1]
, but your code outputs[1, 2, 3]
.Loading more items...