All Problems
Problem #81 MEDIUM

The Landlord and the Tenants

Google Adobe Combinatorics Logic

Problem Statement

A landlord owns an apartment building with 5 floors. Each floor has exactly one flat. He has 5 tenants — Arun, Bina, Chand, Deepa, and Esha. He must assign one tenant per floor. The following conditions apply: Arun refuses to live on the top floor. Bina must live on a higher floor than Chand. Deepa and Esha cannot live on adjacent floors. Esha must live on an odd-numbered floor (1, 3, or 5). How many valid assignments are there?

Answer & Quick Explanation

Logged-in Users Only

You must be logged in to view the answer and check your solution. Signing up is free and takes less than a minute.

Detailed Editorial Solution

Detailed Editorial Solution is Premium

Unlock detailed step-by-step mathematical proofs, logic explanations, and company-specific interview preparation pathways.