Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is the value of F(1) based on the definition given?
Think about the possible one-bit strings.
List the valid strings for F(2).
Consider combinations of two bits.
What does F(n) represent in our case?
Recall what we are counting.
Is the initial condition for F(1) equal to 1?
What are the possible one-bit strings?
Calculate F(6) and validate all possible strings allowed under the conditions set.
Continue building from F(5) and F(4).
Discuss how changes to the condition (like allowing '00') would affect your recurrence and outcomes.
Think of all possible combinations!
4 more questions in this section. Enroll free to practise them all.
Enroll free