Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Fast solution in Speedy category for The Final Stone by U.V
import random
def final_stone(stones: list[int]) -> int:
s = 0
for i in sorted(stones, reverse=1):
s = abs(s-i)
return s
Sept. 10, 2022
Comments: