Danilo Gallinari scored five of his 21 points in the final 36 seconds and the Nuggets closed with an 11-0 run to beat the Warriors 107-101 in double overtime on Saturday night.