8. Min and Max

Easy

Return a length-2 tensor [min, max] of the minimum and maximum of t.

Implement solve(...)