Comment

Comment by TheLoneWolfling

Considering that the Fibonacci sequence is exponential, and hence the Nth Fibonacci number contains O(n) digits (well, in any sane base at least), you cannot compute the Nth Fibonacci number in under O(n) time.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton