Fibonacci Interview Questions
3 interview questions in our bank cover Fibonacci, most of them Coding & Leetcode-style Questions. They average 2.3/5 difficulty — easy — and each one was reported by a candidate after a real interview. Companies known to ask about Fibonacci: Meta, Google, WeRide.
Practice these on the problems board →Companies that ask about Fibonacci
Question mix
- Coding & Leetcode-style Questions3
Difficulty
- 2/5 — easy2
- 3/5 — medium1
Questions tagged Fibonacci
Closest Land Mark
2/5Find the distance from a given number to the nearest term of the Fibonacci sequence. This Meta question is a generate-and-compare exercise, and the growth rate is the thing that makes it easy: the terms climb so fast that only a few dozen are ever relevant. You will generate until you pass the target, compare the neighbours on both sides, and handle a target that is itself a term. A subscription unlocks the complete problem and the reference solution.
Coding & Leetcode-style QuestionsMetaEnumerate All Strings of 1s and 2s with a Given Digit Sum
2/5A coding question about generating every sequence built from two small symbols that meets an exact total, then reasoning about how large the result can get. It tests recursive enumeration, ordering of the output, and how to size the work by what is produced rather than by what is searched.
Coding & Leetcode-style QuestionsGoogleFibonacci via Matrix Exponentiation
3/5This reported interview question from WeRide challenges candidates to compute large sequence values efficiently without relying on standard linear approaches. Instead, applicants must leverage mathematical properties of linear transformations to achieve logarithmic performance. You will need to demonstrate strong algorithmic optimization skills to handle large inputs within tight constraints. Unlocking the complete problem description and the optimal model solution requires an active subscription.
Coding & Leetcode-style QuestionsWeRide
Studied alongside
Fibonacci interview FAQ
- How many Fibonacci interview questions are there?
- 3 reported questions, mostly Coding & Leetcode-style Questions.
- Which companies ask Fibonacci questions?
- Meta (1), Google (1), WeRide (1).
- How hard are Fibonacci questions?
- They average 2.3 out of 5: 2 at 2/5, 1 at 3/5.