Find the maximum absolute value in the array of numbers.
Try not to use the for loop, but use Stream API.
Find the maximum absolute value in the array of numbers.
Try not to use the for loop, but use Stream API.
Sample Input 1:
1 4 7 -2 -5Sample Output 1:
7Sample Input 2:
1 4 7 -2 -8Sample Output 2:
8Create a free account to access the full topic