Number of ways guests can arrive
Filed under Grofers
The question
Given n invited guests who can choose to either arrive solo or with an existing invited guest, calculate the total number of different ways the guests can arrive.
No write-up yet. Related questions below have one.
Related Grofers questions
Collected from public candidate posts and coding forums. Updated Nov 2026.