Simple Java Solution with some explanation

This problem is more straightforward than it seems to be.
As all the numbers are positive integers in the array, to find out the max result, you just pick the first number and try to get the minimum divisor. How to get the minimum divisor? Get the second number and divide it by all the rest of numbers. Since of that, there are only 3 conditions to discuss.

When there is only 1 number, just return nums[0].

When there are 2 numbers, return nums[0]/nums[1].

When there are more than 2 numbers, return nums[0]/(nums[1]/...../nums[n-1]).