15
Last seen 1 year ago
Member for 3 years, 1 month, 10 days
Difficulty Normal
the hyphen in
-items.count(x)
sorts the list in descending order.
the
items.index(x)
takes care of the sort stability issue for elements with equal key values
More
My solution is really long and unpythonic :(
Can't wait to learn from all of you.
More