How did second-ranked Arizona get its groove back?

Well, it went back to its staple -- defense. And with it came the offense.

Arizona coach Sean Miller said he felt his team would play well Sunday night against visiting Oregon State but wasn't sure what the outcome would be. As it turned out, the Wildcats played perhaps their best all-around game in nearly a month in beating the visiting Beavers 76-54 in McKale Center.

"I thought we had a confidence about us and that we'd play well ... for sure," Miller said.

"Confidence" was the buzzword Sunday night as Arizona improved to 23-1 overall and 10-1 in the Pac-12. And it made sense after the Wildcats finally together the all-around performance they knew they were capable of after four straight games in which they either either had to rally for a win or tried to rally but couldn't finish it off. In this one, Arizona put the pressure on about midway through the first half and kept it there the rest of the way.

"Today, we couldn't stop them," said Oregon State coach Craig Robinson. "We have been holding guys in the high 30s, low 40s for shooting percentages. They shot 50 percent. This is a good team here; it's fun to watch when you aren't beat by them."

With the loss, the Beavers fell to 13-10 overall and 5-6 in the Pac-12.

Arizona took some time get going, grabbing a 21-18 lead on Aaron Gordon's 3-pointer with 8:02 left in the half before taking control.

It wasn't a lack for trying early, though. Arizona looked aggressive in all phases, going to the basket like a team possessed and playing defense like it had earlier in the season.

"Any time you can win like this in the conference, it feels good," said Arizona point guard T.J. McConnell, who had 11 points, six assists and six rebounds. "Oregon State is a great team. I felt we were clicking on offense and defense. There were some times on defense where we struggled a bit, but we made up for it on offense."

The Wildcats shot 50 percent from the floor, their best since shooting 54 percent in a blowout win over rival Arizona State last month.

Oh, and guess who is up next? Yes, Arizona State on Friday in Tempe.

For Arizona, the numbers told the story. The Wildcats outrebounded the Beavers 39-24 while accumulating 15 assists and just eight turnovers. They also had seven steals, and they didn't allow the nation's third-best 3-point shooting team much on the perimeter, as Oregon State went just 4 of 12 from beyond the arc.

"When we play defense like we do, it's not surprising," said McConnell. "It's all just effort on defense and executing on offense. We were at our best."