MakeMyTrip Hotel Tile Coverage
MakeMyTrip Hotel Tile Coverage
EasyDynamic Programming100% accepted
MakeMyTrip needs to tile a 2xN hotel corridor with 2x1 tiles. Count the number of ways to tile the corridor completely.
Approach
Count ways to tile a 2 x N board with 2 x 1 dominoes.
Input
1
Output
1
More Dynamic Programming problems
Browse all coding problems →solution.py
Loading editor...
Test 1
Test 2
Test 3
Press Run to test your custom input, or Submit to judge against all test cases.
Sign in to continue
Create a free account to run code, submit solutions and track progress.
- Free forever — no credit card
- 10+ languages with live execution
- Points, streaks & leaderboards