The Terps gave the ball away 15 times in Wednesday's loss to the Wildcats.
The win was Maryland's fifth in a row.
Ayala and Wiggins combined for 46 points to fuel the Terps' efforts.
The Terps coughed up the ball 17 times Tuesday night, a new season-high.
Smith was a force on both ends of the floor, notching 10 points, five rebounds and two blocks Sunday night.
Four Terps scored in double figures against the Golden Gophers.
The Terps hit just 26.3 percent of their threes Monday night.
The Alabama transfer has started the last six games for the Terps.
Five Terps scored in double figures, led by Aaron Wiggins' 21 points.
Marcus Dockery, Aquan Smart and James Graham have emerged as valuable options off the bench in recent games.