Count Strings of Length N with No Two Consecutive A's

Company: INFOSYS

Difficulty: easy