Last active 1690915862

test.py Raw
1if k == 0:
2 return []
3arr.sort()
4ans = arr[-k:]
5return ans