Please help me to transform the code below from python to JAVA.For this assignment, First, I have to generate n random numbersbetween -100 to 100 and save them in array a. Then, I have to write2 functios to find the Maximum Subsequence Sum ( means find thesequence of numbers that when you add them together, you get thelargest value). One has to have the running time O(n) and the otherone O(logN). The last step is to Print the generated array and theoutputs of both of the functions. This code works perfectly onpython, I just need to translate it to JAVA.
PayPal Gateway not configured
PayPal Gateway not configured