2 ms·
It's just a fancy word for the BigO notation. See https://en.wikipedia.org/w/index.php?title=Asymptotic_complexity&redirect=no https://en.wikipedia.org/w/index
by ww520 15y ago
It's just a fancy word for the BigO notation. See https://en.wikipedia.org/w/index.php?title=Asymptotic_complexity&redirect=no https://en.wikipedia.org/w/index.php?title=Asymptotic_comple...
- debacle 15y agoSo it's simply the difference in efficiency between an imperative and a functional algorithm?
- ww520 15y agoIt is not a matter of imperative or functional. It's the difference between mutable and immutable style programming. You can have an immutable imperative program or a mutable functional program. Lots of algorithms maintain mutable states. When these algorithms are translated into immutable state style, their complexity (BigO) shoots up. The SO question is asking what's the increased complexity when moving to PURE functional programming style.