Test Cases (0/4)
    • findMinMax([1,3,5]) to return [1,5]

    • findMinMax([-1,3,5]) to return [-1,5]

    • findMinMax([-1,-3,-5]) to return [-5,-1]

    • findMinMax([-1, -3, 10]) to return [-3,10]

    Output
    Michael
      (0/300)