DEV Community

Discussion on: Let's Get Clever #1: Fibonacci Sequence

Collapse
 
loki profile image
Loki Le DEV

This is a classic interview question!

In c++ you can make a constexpr version that will be computed at compile time!

youtube.com/watch?v=hErD6WGqPlA