- Time : O(n)
- Space : O(1)
java
1 | public static BigInteger fibonacciModified(int t1, int t2, int n) { |