RJ Barrett recorded 21 points, seven rebounds and seven assists to help the New York Knicks defeat a depleted Milwaukee Bucks 102-96.