UCLA led with under eight minutes to go, but No. 20 Purdue took the lead and separated to snap a four-game losing streak in Big Ten men's basketball action on Friday night.