8. Min and Max

Easy

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

Input

tensor([3., 1., 9., 2.])

Output

tensor([1., 9.])

Sign in to write and run your own code.

Implement solve(...)