Meta · Enterprise Engineer, IC3 (3 years)
Rounds
- Onsite
Questions asked
- How many ways can you go up the stairs if you are only allowed to go up 1 step or 2 steps at a time?
Tips
- Classic climbing stairs DP. Start with recursion, then memoize, then do it in O(1) space. Broken Stair Climbs on FrontendLead is a variant.
