Last active 1690916143

Revision 5eff9c1396b0dddb299d9885796d604fd8b2b61b

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