Kyrie Irving hit a driving layup with 4 seconds left to cap a seesaw battle in the final minutes and the Cleveland Cavaliers beat the Denver Nuggets 100-99 on Wednesday night.