Project Euler #2: Even Fibonacci numbers

  • + 0 comments

    This does not change the time complexity from O(n) however.

    Orignal time is something like O(3n) -> O(n)

    New time complexity is something like O(2n/3) -> O(n)