Java Help
1. Write Java code for a method to test if aLinkedList<Long> has Long values that form a Fibonaccisequence from the beginning to the end and return true if it is andfalse otherwise. A sequence of values is Fibonnaci if every thirdvalue is equal to sum of the previous two. Eg., 3,4,7,11,18,29 is aFibonacci sequence whereas 1,2,3,4 is not, because 2+3 is not equalto 4. Any sequence containing only two values is Fibonacci. If thelist has <=1 value, then it is NOT Fibonacci. Make sure to testthe code for correctness before submission and you don’t need tosubmit test results.
public boolean
PayPal Gateway not configured
PayPal Gateway not configured