Return dictionary keys in order of decreasing values, with alphabetical tie-breaking.
Constraints
Example
>>> sorted_keys_by_value_desc({'a': 2, 'b': 3, 'c': 1})
['b', 'a', 'c']
>>> sorted_keys_by_value_desc({'x': 5, 'y': 5, 'z': 3})
['x', 'y', 'z']
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints