Last active 1690916143

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