• + 0 comments

    / /\ /\ /\

    public static BigInteger fibonacciModified(int t1, int t2, int n) { // Write your code here List results = new ArrayList<>(); results.add(BigInteger.valueOf(t1)); results.add(BigInteger.valueOf(t2)); BigInteger result = BigInteger.valueOf(0); for( int i =2;i

    }
    return results.get(results.size()-1) ;
    
    }